sklearn中的常用包
导包合集
数据集合 from sklearn.datasets import load_wine
决策树 from sklearn.tree import DecisionTreeClassifier
随机森林 from sklearn.ensemble import RandomForestClassifier
交叉验证 from sklearn.model_selection import cross_val_score
网格搜索 from sklearn.model_selection import GridSearchCV
F值和P值 from sklearn.feature_selection import f_regression (用于回归)
F值和P值 from sklearn.feature_selection import f_classif(用于分类)

浙公网安备 33010602011771号