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 | plotThreshVsPerfGGVIS(obj, interaction = "measure", mark.th = NA_real_,
pretty.names = TRUE)
|
obj |
[ |
interaction |
[ |
mark.th |
[ |
pretty.names |
[ |
a ggvis plot object.
Other plot: plotBMRBoxplots
,
plotBMRRanksAsBarChart
,
plotBMRSummary
,
plotCalibration
,
plotCritDifferences
,
plotFilterValuesGGVIS
,
plotLearningCurveGGVIS
,
plotLearningCurve
,
plotPartialDependenceGGVIS
,
plotPartialDependence
,
plotROCCurves
, plotResiduals
,
plotThreshVsPerf
Other thresh_vs_perf: generateThreshVsPerfData
,
plotROCCurves
,
plotThreshVsPerf
1 2 3 4 5 6 7 8 | ## Not run:
lrn = makeLearner("classif.rpart", predict.type = "prob")
mod = train(lrn, sonar.task)
pred = predict(mod, sonar.task)
pvs = generateThreshVsPerfData(pred, list(tpr, fpr))
plotThreshVsPerfGGVIS(pvs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.