Created
August 1, 2020 01:19
-
-
Save pycaret/87d46b76b3f4a05c51323377fd1d40aa to your computer and use it in GitHub Desktop.
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
# import classification module | |
from pycaret.classification import * | |
# init setup | |
clf1 = setup(data, target = 'name-of-target') | |
# train adaboost model | |
adaboost = create_model('ada') | |
# AUC plot | |
plot_model(adaboost, plot = 'auc') | |
# Decision Boundary | |
plot_model(adaboost, plot = 'boundary') | |
# Precision Recall Curve | |
plot_model(adaboost, plot = 'pr') | |
# Validation Curve | |
plot_model(adaboost, plot = 'vc') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can you change the color of the lines in the plot? It automatically chooses very ambiguous colors for AUC at least (the micro-average lines have identical styles)
