Description Usage Arguments Details Value Examples
This function receives a named list indicating variables and values to filter the input experiment.
1 |
e |
The experiment to be subsetted |
columns |
A named list containing the variables to be filtered and the valid values. |
invertSelection |
If the filtering must match the inversion of the specified conditions. |
The names of the elements in the list correspond with the variables to be filtered, indicating either the methos or problem variables as well as parameters. The values of the list correspond with the valid states for the filtering.
a filtered experiment object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # We create a new experiment from the wekaExperiment problem
e <- expCreate(wekaExperiment, parameters="fold", name="Test Experiment")
# We can filter the experiment to reduce the number of methods.
e <- expSubset(e, list(method = c("J48", "NaiveBayes")))
e
# We can filter the experiment to remove a given problem
e <- expSubset(e, list(problem = "iris"), invertSelection=TRUE)
e
# We can subset the experiment to obtain a specific parameter configuration
e <- expSubset(e, list("featureSelection" = "no"))
e
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.