Created
November 15, 2020 23:38
-
-
Save tiaplagata/fbae35ea2a2d46d2445ffad584df91a2 to your computer and use it in GitHub Desktop.
Define Basic Pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.pipeline import Pipeline | |
from sklearn.preprocessing import StandardScaler | |
from sklearn.ensemble import RandomForestClassifier | |
basic_pipe = pipeline(steps=[ | |
('scaler', StandardScaler()), | |
('estimator', RandomForestClassifier()) | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment