print.PredictionMap: Prints all details about a PredictionMap object.

Description Usage Arguments Details Examples

View source: R/print.R

Description

Prints all details about a PredictionMap object.

Usage

1
2
## S3 method for class 'PredictionMap'
print(x, showMeta = TRUE, showPred = TRUE, ...)

Arguments

x

A PredictionMap object generated by predictionMap.

showMeta

If TRUE the meta data of the PredictionMap object will be printed.

showPred

If TRUE the predictions of the PredictionMap object will be printed.

...

Further parameters

Details

Prints all details about a given PredictionMap object and information about the meta information as well as the predictions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(TunePareto)
data(esl)
data = esl$data
labels = esl$labels
foldList = generateCVRuns(labels  = labels,
                          ntimes      = 2,
                          nfold       = 2,
                          leaveOneOut = FALSE,
                          stratified  = TRUE)
                          
# svm with linear kernel
predMap = predictionMap(data, labels, foldList = foldList, 
                       classifier = tunePareto.svm(), kernel='linear')
                           
print(predMap, showMeta=TRUE, showPred=TRUE)

ORION documentation built on Feb. 7, 2022, 5:15 p.m.