expInstantiate: Instatiate the methods in the experiment for each one of the...

Description Usage Arguments Details Value Examples

Description

When performing statistical tests or summarizing an experiment for a given output variable there can be different parameter configuration for each interaction of method and problem. Once applied the desired transformations this function can be used to remove unary parameters from the experiment or to instantiate the methods for each configuration.

Usage

1
expInstantiate(e, parameters = NULL, removeUnary = TRUE)

Arguments

e

The experiment object to be instantiated

parameters

A vector indicating the parameters to be instantiaded. If NULL or default all parameters would be considered.

removeUnary

Boolean value indicating if the unary parameters will be used in an instantiation or if the column can be erased.

Details

If any method is instantiated the cartesian product of the method and the selected parameters is performed and included in the resulting experiment as the methods variable. The name of the corresponding value will indicate the name of the former method and the value of each parameter instantiated.

Value

an experiment object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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. It becomes an
# unary parameter.
experiment <- expReduce(experiment, "fold", mean)

# Now we instantiate the experiment by the featureSelection parameter and
# remove the unary fold parameter
expInstantiate(experiment, removeUnary=TRUE)

exreport documentation built on May 1, 2019, 10:13 p.m.