model.evaluation.plot: Model Evaluation Plot

Description Usage Arguments Value Examples

View source: R/model_evaluation_plot.r

Description

Produces two plots for model evaluation. The first plot shows the Receiver Operating Characteristic (ROC)-curves, the other the Precision-recall (PR)-curves for the different cross-validation repetitions.

Usage

1
2
model.evaluation.plot(..., fn.plot = NULL,
    colours=NULL, show.all=FALSE, verbose = 1)

Arguments

...

one or more object of class siamcat-class, can be named

fn.plot

string, filename for the pdf-plot

colours

colour specification for the different siamcat-class- objects, defaults to NULL which will cause the colours to be picked from the 'Set1' palette

show.all

boolean, Should all repeated cross-validation models be plotted?

verbose

control output: 0 for no output at all, 1 for only information about progress and success, 2 for normal level of information and 3 for full debug information, defaults to 1

Value

Does not return anything, but produces the model evaluation plot.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(siamcat_example)

# simple working example
model.evaluation.plot(siamcat_example, fn.plot='./eval.pdf')

# plot several named SIAMCAT object
# (although we use only one example object here)
model.evaluation.plot('Example_1'=siamcat_example,
    'Example_2'=siamcat_example, colours=c('red', 'blue'),
    fn.plot='./eval.pdf')

SIAMCAT documentation built on Nov. 8, 2020, 5:14 p.m.