Created
August 2, 2018 12:10
-
-
Save ogyalcin/d7ad1be71460b56ebb64bcf8bc369d3a to your computer and use it in GitHub Desktop.
Select and Train Model and Make Predictions
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.ensemble import GradientBoostingClassifier | |
| model = GradientBoostingClassifier(learning_rate=0.1,max_depth=3) | |
| model.fit(X_train, y_train) | |
| predictions = model.predict(X_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment