summary.ConfusionTable {ORION}R Documentation

Summary of confusion tables

Description

summary.ConfusionTable returns a summarizing overview.

Usage

## S3 method for class 'ConfusionTable'
summary(object = NULL, ...)

Arguments

object

A ConfusionTable object as it is returned by confusionTable-function.

...

Further arguments passed from other methods.

Details

This function gives an overview of the characteristics of the ConfusionTable object. The cascade with the corresponding mean accuracy are given.

See Also

confusionTable, summary.PredictionMap, summary.Subcascades, summary.Groupwise, summary.Conf

Examples

library(TunePareto)
data(esl)
data = esl$data
labels = esl$labels
foldList = generateCVRuns(labels  = labels,
                          ntimes      = 2,
                          nfold       = 2,
                          leaveOneOut = FALSE,
                          stratified  = TRUE)
predMap = predictionMap(data, labels, foldList = foldList, 
                       classifier = tunePareto.svm(), kernel='linear')

# Calculation of the confusion matrix for '0>2>3>4'.
confusionTable = confusionTable(predMap, cascade = '0>2>3>4')

summary(confusionTable)

[Package ORION version 1.0.3 Index]