View source: R/civis_ml_utils.R
| get_metric | R Documentation |
Get model metrics
get_metric(model, name = NULL)
model |
Object from |
name |
Name of the metric. If |
The list of possible metrics provided by CivisML is:
Classification:
"accuracy", "confusion_matrix", "p_correct", "pop_incidence_true",
"pop_incidence_pred", "roc_auc", "log_loss", "brier_score",
"roc_curve", "calibration_curve", "deciles", "score_histogram",
"training_histogram", "oos_score_table".
Regression:
"mad", "rmse", "r_squared", "score_histogram", "training_histogram",
"y_yhat_plot", "y_yhat_outlier_rows", "oos_score_table"
The metric given by name, or all metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.