Description Usage Arguments Details Examples
Prints all details about a Groupwise object.
1 2 |
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 |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.