View source: R/generateCalibration.R
plotCalibration | R Documentation |
Plots calibration data from generateCalibrationData.
plotCalibration( obj, smooth = FALSE, reference = TRUE, rag = TRUE, facet.wrap.nrow = NULL, facet.wrap.ncol = NULL )
obj |
(CalibrationData) |
smooth |
( |
reference |
( |
rag |
( |
facet.wrap.nrow, facet.wrap.ncol |
(integer) |
ggplot2 plot object.
Other plot:
createSpatialResamplingPlots()
,
plotBMRBoxplots()
,
plotBMRRanksAsBarChart()
,
plotBMRSummary()
,
plotCritDifferences()
,
plotLearningCurve()
,
plotPartialDependence()
,
plotROCCurves()
,
plotResiduals()
,
plotThreshVsPerf()
Other calibration:
generateCalibrationData()
## Not run: lrns = list(makeLearner("classif.rpart", predict.type = "prob"), makeLearner("classif.nnet", predict.type = "prob")) fit = lapply(lrns, train, task = iris.task) pred = lapply(fit, predict, task = iris.task) names(pred) = c("rpart", "nnet") out = generateCalibrationData(pred, groups = 3) plotCalibration(out) fit = lapply(lrns, train, task = sonar.task) pred = lapply(fit, predict, task = sonar.task) names(pred) = c("rpart", "lda") out = generateCalibrationData(pred) plotCalibration(out) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.