Is there easy way to grid search without cross validation in python?

后端 未结 4 1247
梦如初夏
梦如初夏 2020-12-13 14:06

There is absolutely helpful class GridSearchCV in scikit-learn to do grid search and cross validation, but I don\'t want to do cross validataion. I want to do grid search wi

4条回答
  •  执念已碎
    2020-12-13 14:49

    See this link: https://stackoverflow.com/a/44682305/2202107

    He used cv=[(slice(None), slice(None))] which is NOT recommended by sklearn's authors.

提交回复
热议问题