Learn R Programming

mlr (version 2.3)

makeAggregation: Specifiy your own aggregation of measures

Description

This is an adavanced feature of mlr. It gives access to some inner workings so the result might not be compatible with everything!

Usage

makeAggregation(id, fun)

Arguments

Value

Aggregation object

See Also

aggregations, setAggregation

Examples

Run this code
# computes the interquartile range on all performance values
test.iqr = makeAggregation(id = "test.iqr",
  fun = function (task, perf.test, perf.train, measure, group, pred) IQR(perf.test))

Run the code above in your browser using DataLab