Estimating the cost of a parameter grid

Grid search evaluates each listed parameter combination under a common cross-validation scheme.

GridSearchCV in practice

Three depths times four leaf sizes times five folds entails sixty fits, plus one if refitting the winner. Values between grid points remain unexplored.

中文

网格搜索的计算量如何提前估算?

网格搜索逐一评估指定候选值的组合,用同一交叉验证方案比较。

GridSearchCV 应用实例

3 个深度乘 4 个叶节点大小再乘 5 折需要 60 次拟合,若重训最佳模型还要再一次。网格之外的值没有接受测试。

References / 参考来源

Keep reading / 继续阅读