list_metrics: List metrics

Description Usage Examples

View source: R/metrics.R

Description

List all available performance metrics.

Usage

1

Examples

1
2
(metrics <- list_metrics())
metrics[metrics$Task == "Multiclass classification", ]

Example output

sh: 1: cannot create /dev/null: Permission denied

Attaching package:vipThe following object is masked frompackage:utils:

    vi

     Metric                       Description                             Task
1  accuracy           Classification accuracy Binary/multiclass classification
2     error           Misclassification error Binary/multiclass classification
3       auc            Area under (ROC) curve            Binary classification
4   logloss                          Log loss            Binary classification
5      mauc Multiclass area under (ROC) curve        Multiclass classification
6       mae               Mean absolute error                       Regression
7       mse                Mean squared error                       Regression
8        r2                         R squared                       Regression
9  rsquared                         R squared                       Regression
10     rmse           Root mean squared error                       Regression
11      sse             Sum of squared errors                       Regression
  Metric                       Description                      Task
5   mauc Multiclass area under (ROC) curve Multiclass classification

vip documentation built on Dec. 17, 2020, 5:08 p.m.