sklearn.model_selection.cross_val_score()

sklearn.model_selection.cross_val_score

sklearn.model_selection.cross_val_score(estimator, X, y=None, groups=None, scoring=None, cv=None, n_jobs=1, verbose=0, fit_params=None, pre_dispatch='2*n_jobs') [source]

Evaluate a score by cross-validation

Read more in the User Guide.

Parameters: 登录查看完整内容