print.Groupwise {ORION} | R Documentation |
Prints all details about a Groupwise object.
Description
Prints all details about a Groupwise object.
Usage
## S3 method for class 'Groupwise'
print(x, printSizes = length(x), ...)
Arguments
x |
A Groupwise object as it is returned by |
printSizes |
Integer that specifies how many of the cascade sizes (starting with the largest cascades) should be printed. |
... |
Further parameters |
Details
Prints all details about a given Groupwise object. A Groupwise object re-sorts a Subcascades object in a way that the cascades made up of the same classes are grouped. The printSizes parameter can be used to control the cascade sizes to be printed.
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')
# generate Subcascades object
subc = subcascades(predMap,thresh=0.7)
#create a Groupwise object
groupwise = groupwise(subc)
print(groupwise, printSizes = 2)
[Package ORION version 1.0.3 Index]