Evaluation
model.plot('metric_name')
There are several different evaluation metrics you can choose from for regression and classification tasks. They are derived from Scikit-Learn’s own metrics. All you need to is type in the metric name in string format when using the .plot method.
Regression metrics
Parameter |
String format |
|---|---|
‘explained_variance’ |
|
‘max_error’ |
|
‘mean_absolute_error’ |
|
‘mean_squared_error’ |
|
‘mean_squared_log_error’ |
|
‘median_absolute_error’ |
|
‘r2_score’ |
|
‘mean_absolute_error_score’ |
|
‘d2_absolute_error_score’ |
|
‘d2_pinball_score’ |
|
‘d2_tweedie_score’ |
Classification metrics
Parameter |
String format |
|---|---|
‘accuracy_score’ |
|
‘balanced_accuracy_score’ |
|
‘f1_score’ |
|
‘precision_score’ |
|
‘recall_score’ |
|
‘jaccard_score’ |
|
‘roc_auc_score’ |
|
‘log_loss’ |
|
‘average_precision_score’ |
|
‘brier_score_loss’ |