Description Usage Arguments Details Value Examples
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.
1 | expInstantiate(e, parameters = NULL, removeUnary = TRUE)
|
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. |
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.
an experiment object
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.