R/generateThreshVsPerf.R
Generates data on threshold vs. performance(s) for 2-class classification that can be used for plotting.
generateThreshVsPerfData(obj, measures, gridsize = 100L, aggregate = TRUE, task.id = NULL)
| obj | (list of Prediction | list of ResampleResult | BenchmarkResult) |
|---|---|
| measures | (Measure | list of Measure) |
| gridsize | ( |
| aggregate | ( |
| task.id | ( |
(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).
Other generate_plot_data: generateCalibrationData,
generateCritDifferencesData,
generateFeatureImportanceData,
generateFilterValuesData,
generateLearningCurveData,
generatePartialDependenceData,
plotFilterValues
Other thresh_vs_perf: plotROCCurves,
plotThreshVsPerf