天天看點

關于sklearn中GridsearchCV從sklearn.grid_search中移除的問題

在sklearn2.0中,使用網格搜尋(gridsearch)尋找最優參數模型,

子產品加載從原來的from sklearn.grid_search import GridsearchCV

改為了  from  sklearn.model_selection import  GridsearchCV