generateThreshVsPerfData {mlr} | R Documentation |
Generate threshold vs. performance(s) for 2-class classification.
Description
Generates data on threshold vs. performance(s) for 2-class classification that can be used for plotting.
Usage
generateThreshVsPerfData(
obj,
measures,
gridsize = 100L,
aggregate = TRUE,
task.id = NULL
)
Arguments
obj |
(list of Prediction | list of ResampleResult | BenchmarkResult) |
measures |
(Measure | list of Measure) |
gridsize |
( |
aggregate |
( |
task.id |
( |
Value
(ThreshVsPerfData). A named list containing the measured performance across the threshold grid, the measures, and whether the performance estimates were aggregated (only applicable for (list of) ResampleResults).
See Also
Other generate_plot_data:
generateCalibrationData()
,
generateCritDifferencesData()
,
generateFeatureImportanceData()
,
generateFilterValuesData()
,
generateLearningCurveData()
,
generatePartialDependenceData()
,
plotFilterValues()
Other thresh_vs_perf:
plotROCCurves()
,
plotThreshVsPerf()