1. 程式人生 > >sklearn 常用模組及類與方法

sklearn 常用模組及類與方法

  • preprocessing 
    • StandardScaler
    • LabelEncoder
    • OneHotEncoder
  • model_selection 
    • train_test_split(新版本從 cross_validation 移步於此)
  • decomposition 
    • PCA
  • linear_model: 
    • LogisticRegression
  • pipeline 
    • from sklearn.pipeline import _name_estimators