Learn R Programming

mlr3 (version 0.1.6)

mlr_measures_elapsed_time: Elapsed Time Measure

Description

Measures the elapsed time during train ("time_train"), predict ("time_predict"), or both ("time_both").

Arguments

Format

R6::R6Class() inheriting from Measure.

Construction

MeasureElapsedTime$new(id, stages)

mlr_measures$get("time_train") mlr_measures$get("time_predict") mlr_measures$get("time_both")

msr$get("time_train") msr$get("time_predict") msr$get("time_both")

  • id :: character(1) Id for the created measure.

  • stages :: character() Subset of ("train", "predict"). The runtime of all stages will be summed.

Meta Information

  • Type: NA

  • Range: \([0, \infty)\)

  • Minimize: TRUE

  • Required prediction: 'response'

See Also

Dictionary of Measures: mlr_measures

as.data.table(mlr_measures) for a complete table of all (also dynamically created) Measure implementations.