Measures the elapsed time during train ("time_train"), predict ("time_predict"), or both ("time_both").
Range: \([0, \infty)\)
Required prediction: 'response'
Which stages of the learner to measure?
Creates a new instance of this R6 class.
MeasureElapsedTime$new(id = "elapsed_time", stages)
The objects of this class are cloneable with this method.
MeasureElapsedTime$clone(deep = FALSE)
Whether to make a deep clone.