Learn R Programming

mlr (version 2.7)

generateCritDifferencesData: Generate data for critical-differences plot.

Description

Generates data that can be used to plot a critical differences plot. Computes the critical differences according to either the "Bonferroni-Dunn" test or the "Nemenyi" test. "Bonferroni-Dunn" usually yields higher power as it does not compare all algorithms to each other, but all algorithms to a baseline instead. Learners are drawn on the y-axis according to their average rank. For test = "nemenyi" a bar is drawn, connecting all groups of not significantly different learners. For test = "bd" an interval is drawn arround the algorithm selected as baseline. All learners within this interval are not signifcantly different from the baseline. Calculation: $$CD = q_{\alpha} \sqrt{(\frac{k(k+1)}{6N})}$$ Where $q_\alpha$ is based on the studentized range statistic. See references for details.

Usage

generateCritDifferencesData(bmr, measure = NULL, p.value = 0.05,
  baseline = NULL, test = "bd")

Arguments

Value

[critDifferencesData]. List containing:data[data.frame] containing the info for the descriptive part of the plotfriedman.nemenyi.test[list] of class pairwise.htest contains the calculated posthoc.friedman.nemenyi.testcd.info[list] containing info on the critical difference and its positioningbaselinebaseline chosen for plottingp.valuep.value used for the posthoc.friedman.nemenyi.test and for computation of the critical difference

See Also

Other benchmark: BenchmarkResult, benchmark, convertBMRToRankMatrix, friedmanPostHocTestBMR, friedmanTestBMR, getBMRAggrPerformances, getBMRFeatSelResults, getBMRFilteredFeatures, getBMRLearnerIds, getBMRLearners, getBMRMeasureIds, getBMRMeasures, getBMRPerformances, getBMRPredictions, getBMRTaskIds, getBMRTuneResults, plotBMRBoxplots, plotBMRRanksAsBarChart, plotBMRSummary, plotCritDifferences

Other generate_plot_data: generateCalibrationData, generateFilterValuesData, generateLearningCurveData, generatePartialPredictionData, generateROCRCurvesData, generateThreshVsPerfData, getFilterValues