blkbox (version 1.0)

ncv.plot: Nested Crossfold Validation Performance Plot.

Description

Compares the performance of each algorithm in a boxplot. Each holdout will contribute at least one data point to each algorithms boxplot.

Usage

ncv.plot(obj, metric, y_ranges, title)

Arguments

obj
An object produced by the blkboxCV function.
metric
Which metric you wish to plot, can only plot those specified to the blkboxNCV function at time of running. Area under the Receiver operating curve = "AUROC", Accuracy = "ACC", Error rate = "ERR", Matthews correlation coefficient = "MCC", F-1 score = "F-1". Default is the first metric specified to your NCV arguments vector.
y_ranges
is the y axis limits for the plot, defaults to c(0,1). Must be a numeric vector with two entries.
title
the title to be adhered to the plot. Default is no title.

Examples

Run this code

ncv.plot(blkboxNCV(...), metric = "AUROC", title = "NCV Performance Boxplot")

Run the code above in your browser using DataLab