cross_validation等模块弃用

新的模块sklearn.model_selection,将以前的sklearn.cross_validationsklearn.grid_search 和 sklearn.learning_curve模块组合到一起


比如:cross_validation模块弃用,所有的包和方法都在model_selection中,包和方法名没有发生变化

 


详见http://scikit-learn.org/stable/modules/cross_validation.html#cross-validation-iterators-with-stratification-based-on-class-labels

你可能感兴趣的:(python)