learner
objects,
each consisting of one of the different possible combinations of the
variants. This function finds its use in the context of experimental
comparisons among learning systems, where we may actually be interested
in comparing different parameter settings for each of them.
variants(sys, varsRootName = sys, as.is=NULL, ...)
NULL
that are
not to be used as source for system variants. This is useful for systems
that have parameters that accept as "legal" values sets (e.g. a vector)
and that we do not want the function variants
to interprete as
source values for generating different system variants.
learner
objects. Each
of these objects represents one of the parameter variants of the
learner you have supplied.
learner
,experimentalComparison
## Generating several variants of the "rpartXse" learner using different
## values of the paramter "se"
variants('rpartXse',se=c(0,0.5,1))
Run the code above in your browser using DataCamp Workspace