RCI {StabPerf}R Documentation

Calculates Relative Classifier Information.

Description

Calculates Relative Class Information of a confusion matrix.

Usage

RCI(cmat)

Arguments

cmat confusion matrix with true membership in rows classifications in cols.

Details

RCI takes prior class probability into account. See reference for further information.

Value

score Numeric. Value of Relative Class Information.

References

Statnikov et al., 2004

See Also

accuracy

Examples

model <- load.model("data/model.RData")
data <- loadData("data/dataset.RData")
prediction <- predict(model, data[,1:2])
cmat <- confusion.matrix(data$y[1:2], prediction) # create confusion matrix
RCI(cmat)

[Package StabPerf version 0.5 Index]