Create a plot of the learning curve using the object returned from createLearningCurve
.
plotLearningCurve(
learningCurve,
metric = "AUROC",
abscissa = "events",
plotTitle = "Learning Curve",
plotSubtitle = NULL,
fileName = NULL
)
Arguments
An object returned by createLearningCurve
function.
Specifies the metric to be plotted:
'AUROC'
- use the area under the Receiver Operating Characteristic curve
'AUPRC'
- use the area under the Precision-Recall curve
'sBrier'
- use the scaled Brier score
Specify the abscissa metric to be plotted:
'events'
- use number of events
'observations'
- use number of observations
Title of the learning curve plot.
Subtitle of the learning curve plot.
Filename of plot to be saved, for example 'plot.png'
. See the function ggsave
in the ggplot2 package for supported file formats.
A ggplot object. Use the ggsave
function to save to file in a different format.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4