print.Subcascades {ORION} | R Documentation |
Prints all details about a Subcascades object.
Description
Prints all details about a Subcascades object.
Usage
## S3 method for class 'Subcascades'
print(x, printSizes = length(x), ...)
Arguments
x |
A Subcascades object generated by |
printSizes |
Integer specifying how many elements of a Subcascades object should be printed, sorted decreasingly after cascade length. |
... |
Further parameters |
Details
Prints all details about a given Subcascades object.
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')
# use default parameter settings
# -> returns cascades of all lengths that show a minimal classwise sensitivity >0.
subc = subcascades(predMap)
# print subcascades for the largest 2 sizes
print(subc, printSize=2)
[Package ORION version 1.0.3 Index]