Description Usage Arguments Value See Also Examples
Plots calibration data from generateCalibrationData.
1 2 |
obj |
[ |
smooth |
[ |
reference |
[ |
rag |
[ |
facet.wrap.nrow, facet.wrap.ncol |
[ |
ggplot2 plot object.
Other plot: plotBMRBoxplots,
plotBMRRanksAsBarChart,
plotBMRSummary,
plotCritDifferences,
plotFilterValuesGGVIS,
plotLearningCurveGGVIS,
plotLearningCurve,
plotPartialDependenceGGVIS,
plotPartialDependence,
plotROCCurves, plotResiduals,
plotThreshVsPerfGGVIS,
plotThreshVsPerf
Other calibration: generateCalibrationData
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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.