Description Usage Arguments Value See Also Examples
View source: R/generateThreshVsPerf.R
Plots threshold vs. performance(s) data that has been generated with generateThreshVsPerfData
.
1 2 3 |
obj |
[ |
measures |
[ |
facet |
[ |
mark.th |
[ |
pretty.names |
[ |
facet.wrap.nrow, facet.wrap.ncol |
[ |
ggplot2 plot object.
Other plot: plotBMRBoxplots
,
plotBMRRanksAsBarChart
,
plotBMRSummary
,
plotCalibration
,
plotCritDifferences
,
plotFilterValuesGGVIS
,
plotLearningCurveGGVIS
,
plotLearningCurve
,
plotPartialDependenceGGVIS
,
plotPartialDependence
,
plotROCCurves
, plotResiduals
,
plotThreshVsPerfGGVIS
Other thresh_vs_perf: generateThreshVsPerfData
,
plotROCCurves
,
plotThreshVsPerfGGVIS
1 2 3 4 5 | lrn = makeLearner("classif.rpart", predict.type = "prob")
mod = train(lrn, sonar.task)
pred = predict(mod, sonar.task)
pvs = generateThreshVsPerfData(pred, list(acc, setAggregation(acc, train.mean)))
plotThreshVsPerf(pvs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.