ComparisonReport.metrics#

ComparisonReport.metrics()[source]#

Accessor for metrics-related operations.

You can access this accessor using the metrics attribute.

Methods#

Here are the methods that are available through this accessor:

  • help() – Display accessor help using rich or HTML

  • summarize() – Report a set of metrics for the estimators

  • accuracy() – Compute the accuracy score

  • add() – Add a custom metric to in summarize()

  • available() – List available metric names in the registry

  • brier_score() – Compute the Brier score

  • confusion_matrix() – Plot the confusion matrix

  • log_loss() – Compute the log loss

  • mae() – Compute the mean absolute error

  • mape() – Compute the mean absolute percentage error

  • precision() – Compute the precision score

  • precision_recall() – Plot the precision-recall curve

  • prediction_error() – Plot the prediction error of a regression model

  • r2() – Compute the R² score

  • recall() – Compute the recall score

  • remove() – Remove a metric from each underlying estimator report

  • rmse() – Compute the root mean squared error

  • roc() – Plot the ROC curve

  • roc_auc() – Compute the ROC AUC score

  • timings() – Get all measured processing times related to the different estimators