Description Usage Arguments Value See Also Examples
View source: R/generateLearningCurve.R
Observe how the performance changes with an increasing number of observations.
1 2 3 | generateLearningCurveData(learners, task, resampling = NULL,
percs = seq(0.1, 1, by = 0.1), measures, stratify = FALSE,
show.info = getMlrOption("show.info"))
|
learners |
[(list of) |
task |
[ |
resampling |
[ |
percs |
[ |
measures |
[(list of) |
stratify |
[ |
show.info |
[ |
[LearningCurveData
]. A list
containing:
task |
[ |
measures |
[(list of) |
data |
[
|
Other generate_plot_data: generateCalibrationData
,
generateCritDifferencesData
,
generateFeatureImportanceData
,
generateFilterValuesData
,
generateFunctionalANOVAData
,
generatePartialDependenceData
,
generateThreshVsPerfData
,
getFilterValues
,
plotFilterValues
Other learning_curve: plotLearningCurveGGVIS
,
plotLearningCurve
1 2 3 4 5 | r = generateLearningCurveData(list("classif.rpart", "classif.knn"),
task = sonar.task, percs = seq(0.2, 1, by = 0.2),
measures = list(tp, fp, tn, fn), resampling = makeResampleDesc(method = "Subsample", iters = 5),
show.info = FALSE)
plotLearningCurve(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.