expReduce

Reduce a parameter by a function for each method, problem and remaining parameter configuration interaction

Usage

expReduce(e, parameters = NULL, FUN = mean)

Arguments

e
An input experiment object.
parameters
The parameter or parameters to be reduced, if NULL or default all parameters are considered.
FUN
The function used to agregate the ouput values

Value

An experiment object.

Description

This functions reduces a parameter by aggregating the outputs variables for each value and for each configuration of method, problem and remaining parameters. By default it computes the mean of the variables.

Examples

# Create an experiment from the wekaExperiment experiment <- expCreate(wekaExperiment, name="test-exp", parameter="fold") # We would like to reduce the fold parameter by its mean value. This way expReduce(experiment, "fold", mean)
#Experiment name: test-exp #method: J48, NaiveBayes, OneR, RandomForest #problem: anneal, audiology, balance-scale, car, glass, horsecolic, hypothyroid, ionosphere, liver-disorders, lymph, primary-tumor, soybean, vehicle, vote, vowel #parameters: *) featureSelection [no,yes] #outputs: accuracy, trainingTime

Back to top

Built by staticdocs. Styled with bootstrap.