tabularExpSummary

Summarize the experiment with a table for given outputs

Usage

tabularExpSummary(exp, outputs, boldfaceColumns = "none", format = "f",
  digits = 4, tableSplit = 1, rowsAsMethod = TRUE)

Arguments

exp
The ource experiment to generate the table from
outputs
A given variable or list of them to be the target of the table
boldfaceColumns
Indicate ("none","max" or "min") to highlight the method optimizing the variables for each problem.
format
Indicates the format of the numeric output using C formatting styles. Defaults to 'f'
digits
The number of decimal digits to include for the numeric output.
tableSplit
Indicates the number of parititions of the table that will be rendered. Usefull when the the table is excessivelly wide.
rowsAsMethod
Display the methods as the rows of the table, indicate FALSE for a transpose table.

Value

An extabular object

Description

This function generates a table for the given outputs of the experiment, comparing all methods for each one of the problems. In addition the function can highlight the best results for each problem as well as display a range of parameters for the posterior renderization.

Examples

# This example plots the distribution of the trainingTime variable in the # wekaExperiment problem. # First we create the experiment from the problem. experiment <- expCreate(wekaExperiment, name="test", parameter="fold") # Next we must process it to have an unique parameter configuration: # We select a value for the parameter featureSelection: experiment <- expSubset(experiment, list(featureSelection = "yes")) # Then we reduce the fold parameter: experiment <- expReduce(experiment, "fold", mean) # Finally we remove unary parameters by instantiation: experiment <- expInstantiate(experiment, removeUnary=TRUE) # Generate the default table: tabularExpSummary(experiment, "accuracy")
$accuracy method anneal audiology balance-scale car glass 1 J48 96.21723 76.12649 75.71431 73.25617 70.17317 2 NaiveBayes 85.86641 68.26088 87.84692 70.69801 45.02163 3 OneR 83.63296 46.56128 36.35432 70.00806 53.83119 4 RandomForest 97.66293 69.92095 79.70305 75.68492 78.05194 horsecolic hypothyroid ionosphere liver-disorders lymph 1 81.23876 97.26951 86.92857 50.23529 75.71428 2 81.80182 94.80443 86.89683 38.31932 77.00000 3 81.51653 96.34148 77.48414 48.78992 74.28571 4 83.13815 96.47432 92.89683 48.16808 79.00000 primary-tumor soybean vehicle vote vowel 1 40.69519 82.98593 67.35714 96.31078 53.13134 2 50.13368 86.51535 47.74370 94.69873 55.65658 3 25.32977 19.36061 52.60504 95.61838 26.36361 4 40.39215 84.62489 70.07703 96.08350 66.16164

Back to top

Built by staticdocs. Styled with bootstrap.