View source: R/generateThreshVsPerf.R
plotThreshVsPerf | R Documentation |
Plots threshold vs. performance(s) data that has been generated with generateThreshVsPerfData.
plotThreshVsPerf(
obj,
measures = obj$measures,
facet = "measure",
mark.th = NA_real_,
pretty.names = TRUE,
facet.wrap.nrow = NULL,
facet.wrap.ncol = NULL
)
obj |
(ThreshVsPerfData) |
measures |
(Measure | list of Measure) |
facet |
( |
mark.th |
( |
pretty.names |
( |
facet.wrap.nrow , facet.wrap.ncol |
(integer) |
ggplot2 plot object.
Other plot:
createSpatialResamplingPlots()
,
plotBMRBoxplots()
,
plotBMRRanksAsBarChart()
,
plotBMRSummary()
,
plotCalibration()
,
plotCritDifferences()
,
plotLearningCurve()
,
plotPartialDependence()
,
plotROCCurves()
,
plotResiduals()
Other thresh_vs_perf:
generateThreshVsPerfData()
,
plotROCCurves()
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.