conf {ORION} | R Documentation |
Construction of Binary Classifier Sensitivities
Description
Sensitivities of all pairwise binary classifiers for all classes.
Usage
conf(predictionMap = NULL)
Arguments
predictionMap |
A PredictionMap object as it is returned by |
Details
The Conf object contains all class sensitivities for each binary trained classifiers. The $fC-part is a matrix with one column and contains the sensitivities for the first class of each pairwise classifier. The rows stand for the pairwise classifiers, whereby 0vs1 means that this classifier was trained for class 0 against class 1, with class 0 being the first class. The number '-1' is used as placeholder. The $sC-part is a matrix and contains the preformance measures for all second classes, which are meant here as all classes except the first class. The rows correspond to the binary classifiers and the columns to the classes.
Value
Object of class Conf. Consists of a list of two numeric matrices fC and sC.
See Also
summary.Conf
, print.Conf
, plot.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')
conf = conf(predMap)