Description Usage Arguments Details Examples
Prints all details about a ConfusionTable object.
1 2 |
x |
A ConfusionTable object as it is returned by |
... |
Further parameters |
Prints all conditional prediction rates for the specified cascade.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.