Measure: Base Class for Measures

Description Usage Format Value Fields

Description

A R6::R6Class() to construct performance measures. This is the abstract base class, do not use directly!

Predefined measures are stored in mlr.measures().

Usage

1

Format

R6Class() object

Value

Measure.

Fields

id

(character(1)): Identifier of the measure.

description

(character(1)): Description of the measure.

task.types

(character(1)): Set of compatible task types.

fun

(function(truth, predicted)): function to compute the measure.


mlr-org/mlrng documentation built on May 4, 2019, 4:22 p.m.