Learn R Programming

ORION (version 1.0.3)

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

Description

Prints all details about a PredictionMap object.

Usage

# S3 method for 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab