在sklearn2.0中,使用网格搜索(gridsearch)寻找最优参数模型,
模块加载从原来的from sklearn.grid_search import GridsearchCV
改为了 from sklearn.model_selection import GridsearchCV
在sklearn2.0中,使用网格搜索(gridsearch)寻找最优参数模型,
模块加载从原来的from sklearn.grid_search import GridsearchCV
改为了 from sklearn.model_selection import GridsearchCV