print.PredictionMap {ORION}R Documentation

Prints all details about a PredictionMap object.

Description

Prints all details about a PredictionMap object.

Usage

## 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

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)

[Package ORION version 1.0.3 Index]