ConfusionMatrix: Confusion matrix

ConfusionMatrixR Documentation

Confusion matrix

Description

The result of calculateConfusionMatrix.

Object members:

result (matrix)

Confusion matrix of absolute values and marginals. Can also contain row and column sums of observations.

task.desc (TaskDesc)

Additional information about the task.

sums (logical(1))

Flag if marginal sums of observations are calculated.

relative (logical(1))

Flag if the relative confusion matrices are calculated.

relative.row (matrix)

Confusion matrix of relative values and marginals normalized by row.

relative.col (matrix)

Confusion matrix of relative values and marginals normalized by column.

relative.error (numeric(1))

Relative error overall.

See Also

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


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