R/measures.R

Defines functions make_measure_info

# we store the information about the measures in an environment.
# this way, we can (a) construct them easily and (b) generate documentation.
make_measure_info = function(crit, label, lower, upper, minimize, predict_type = "partition") {
  list(crit = crit, label = label, lower = lower, upper = upper, minimize = minimize, predict_type = predict_type)
}
measures = new.env(parent = emptyenv())
mlr-org/mlr3cluster documentation built on March 30, 2024, 1:01 p.m.