print.ConfusionTable {ORION} | R Documentation |
Prints all details about a ConfusionTable object.
Description
Prints all details about a ConfusionTable object.
Usage
## S3 method for class 'ConfusionTable'
print(x, ...)
Arguments
x |
A ConfusionTable object as it is returned by |
... |
Further parameters |
Details
Prints all conditional prediction rates for the specified cascade.
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'.
confTable = confusionTable(predMap, cascade = '0>2>3>4')
print(confTable)
[Package ORION version 1.0.3 Index]