Display information about metrics provided by the MachineShop package.
metric functions or function names; observed responses; observed and predicted responses; confusion or resample results for which to display information. If none are specified, information is returned on all available metrics by default.
List of named metric elements each containing the following components:
character descriptor for the metric.
logical indicating whether higher values of the metric correspond to better predictive performance.
closure with the argument names and corresponding default values of the metric function.
data frame of the observed and predicted response variable types supported by the metric.
## All metrics metricinfo() ## Metrics by observed and predicted response types names(metricinfo(factor(0))) names(metricinfo(factor(0), factor(0))) names(metricinfo(factor(0), matrix(0))) names(metricinfo(factor(0), numeric(0))) ## Metric-specific information metricinfo(auc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.