Created
August 1, 2020 01:53
-
-
Save pycaret/818cbf3945134873316a68456124a09b to your computer and use it in GitHub Desktop.
This file contains 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
# train a catboost model | |
catboost = create_model('catboost') | |
# predict on holdout set (when no data is passed) | |
pred_holdout = predict_model(catboost) | |
# predict on new dataset | |
new_data = pd.read_csv('new-data.csv') | |
pred_new = predict_model(catboost, data = new_data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment