摘要: Python机器学习包的sklearn中的Gridsearch简单使用 摘要:cross-validation(交叉验证)Asolutiontothisproblemisaprocedurecalledcross-validation(CVforshort).Atestsetshouldstillb 阅读全文
posted @ 2018-08-15 17:47 公主的骑士 阅读(2278) 评论(0) 推荐(0) 编辑
摘要: Preface:算法不够好,需要调试参数时必不可少。比如SVM的惩罚因子C,核函数kernel,gamma参数等,对于不同的数据使用不同的参数,结果效果可能差1-5个点,sklearn为我们提供专门调试参数的函数grid_search。 在sklearn中以API的形式给出介绍。在离线包中函数较多, 阅读全文
posted @ 2018-08-15 17:29 公主的骑士 阅读(2054) 评论(0) 推荐(0) 编辑