Measures the elapsed time during train ("time_train"), predict ("time_predict"), or both ("time_both").
This Measure can be instantiated via the dictionary mlr_measures or with the associated sugar function
Range: [0, Inf)
Required prediction: 'response'
Which stages of the learner to measure? Usually set during construction.
Creates a new instance of this R6 class.
MeasureElapsedTime$new(id = "elapsed_time", stages)
Identifier for the new instance.
The runtime of provided stages will be summed.
The objects of this class are cloneable with this method.
MeasureElapsedTime$clone(deep = FALSE)
Whether to make a deep clone.
Package mlr3measures for the scoring functions.
Dictionary of Measures: mlr_measures
as.data.table(mlr_measures) for a table of available Measures in the running session (depending on the loaded packages).
Extension packages for additional task types:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.