![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
参数优化
炼丹师666
要学神仙,驾鹤飞天,点石成金,妙不可言!
展开
-
交叉验证模型评估模型性能
交叉验证模型 K折交叉验证详解: https://blog.csdn.net/ChenVast/article/details/79257097 cv 用于指示 使用什么样的交叉验证方法 scoring 指定衡量标准 calculate mean 计算得分平均值 作为总体得分 # load libraries from sklearn import datasets, metrics from s...原创 2019-12-25 16:48:28 · 952 阅读 · 0 评论 -
python_交叉网格搜索
python_交叉网格搜索 ### 3.2 交叉网格搜索 #grid_search parameters = {'max_depth':[3,4,5,6,7]} #定义网格搜索参数 RF_grid = grid_search.GridSearchCV(estimator=RandomForestClassifier(),#模型 ...原创 2019-12-11 20:45:50 · 220 阅读 · 0 评论