plotBMRSummary: Plot a benchmark summary.

Description Usage Arguments Value See Also Examples

Description

Creates a scatter plot, where each line refers to a task. On that line the aggregated scores for all learners are plotted, for that task. Optionally, you can apply a rank transformation or just use one of ggplot2's transformations like scale_x_log10.

Usage

1
2
plotBMRSummary(bmr, measure = NULL, trafo = "none", order.tsks = NULL,
  pointsize = 4L, jitter = 0.05, pretty.names = TRUE)

Arguments

bmr

[BenchmarkResult]
Benchmark result.

measure

[Measure]
Performance measure. Default is the first measure used in the benchmark experiment.

trafo

[character(1)]
Currently either “none” or “rank”, the latter performing a rank transformation (with average handling of ties) of the scores per task. NB: You can add always add scale_x_log10 to the result to put scores on a log scale. Default is “none”.

order.tsks

[character(n.tasks)]
Character vector with task.ids in new order.

pointsize

[numeric(1)]
Point size for ggplot2 geom_point for data points. Default is 4.

jitter

[numeric(1)]
Small vertical jitter to deal with overplotting in case of equal scores. Default is 0.05.

pretty.names

[logical{1}]
Whether to use the short name of the learner instead of its ID in labels. Defaults to TRUE.

Value

ggplot2 plot object.

See Also

Other benchmark: BenchmarkResult, batchmark, benchmark, convertBMRToRankMatrix, friedmanPostHocTestBMR, friedmanTestBMR, generateCritDifferencesData, getBMRAggrPerformances, getBMRFeatSelResults, getBMRFilteredFeatures, getBMRLearnerIds, getBMRLearnerShortNames, getBMRLearners, getBMRMeasureIds, getBMRMeasures, getBMRModels, getBMRPerformances, getBMRPredictions, getBMRTaskDescs, getBMRTaskIds, getBMRTuneResults, plotBMRBoxplots, plotBMRRanksAsBarChart, plotCritDifferences, reduceBatchmarkResults

Other plot: plotBMRBoxplots, plotBMRRanksAsBarChart, plotCalibration, plotCritDifferences, plotFilterValuesGGVIS, plotLearningCurveGGVIS, plotLearningCurve, plotPartialDependenceGGVIS, plotPartialDependence, plotROCCurves, plotResiduals, plotThreshVsPerfGGVIS, plotThreshVsPerf

Examples

1
# see benchmark

Najah-lshanableh/R-data-mining2 documentation built on May 6, 2019, 10:11 a.m.