setAggregation: Set aggregation function of measure.

View source: R/Measure_operators.R

setAggregationR Documentation

Set aggregation function of measure.

Description

Set how this measure will be aggregated after resampling. To see possible aggregation functions: aggregations.

Usage

setAggregation(measure, aggr)

Arguments

measure

(Measure)
Performance measure.

aggr

(Aggregation)
Aggregation function.

Value

(Measure) with changed aggregation behaviour.

See Also

Other performance: ConfusionMatrix, calculateConfusionMatrix(), calculateROCMeasures(), estimateRelativeOverfitting(), makeCostMeasure(), makeCustomResampledMeasure(), makeMeasure(), measures, performance(), setMeasurePars()


mlr documentation built on June 22, 2024, 10:51 a.m.