Learn R Programming

familiar (version 1.5.0)

familiarMetric-class: Model performance metric.

Description

Superclass for model performance objects.

Arguments

Slots

metric

Performance metric.

outcome_type

Type of outcome being predicted.

name

Name of the performance metric.

value_range

Range of the performance metric. Can be half-open.

baseline_value

Value of the metric for trivial models, e.g. models that always predict the median value, the majority class, or the mean hazard, etc.

higher_better

States whether higher metric values correspond to better predictive model performance (e.g. accuracy) or not (e.g. root mean squared error).