print.Conf {ORION} | R Documentation |
Prints all details about a Conf object.
Description
Prints all details about a Conf object.
Usage
## S3 method for class 'Conf'
print(x, printfC = TRUE, printsC = TRUE, ...)
Arguments
x |
A Conf object as it is returned by |
printfC |
If TRUE, the sensitivities of the first classes are printed (TP = true positives). |
printsC |
If TRUE, the values of sC are printed (TN = true negatives). The values of sC correspond to the rate of samples of a given class (column), which are assigned to the second class of the base classifier (row). |
... |
Further parameters |
Details
Prints all details about a given Conf object. A Conf object provides the conditional prediction rates of all base classifiers applied to all classes.
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')
conf = conf(predMap)
print(conf)
[Package ORION version 1.0.3 Index]