powered by
This measure returns the number of observations in the Prediction object. Its main purpose is debugging.
R6::R6Class() inheriting from Measure.
R6::R6Class()
MeasureDebug$new(na_ratio = 0) mlr_measures$get("debug") msr("debug")
na_ratio :: numeric(1) Ratio of scores which should be NA. Default is 0.
na_ratio
numeric(1)
NA
na_ratio :: numeric(1).
Dictionary of Measures: mlr_measures
# NOT RUN { task = tsk("wine") learner = lrn("classif.featureless", predict_sets = "test") measure = msr("debug") rr = resample(task, learner, rsmp("cv", folds = 3)) rr$score(measure) # }
Run the code above in your browser using DataLab