The method subset when applied to objects of class compExp
can
be used to obtain another object of the same class with a subset of
the experimental results contained in the orginal object.
signature(x = "compExp")
The method has as first argument the object of class compExp
that you wish to subset. This method also includes four extra arguments that
you can use to supply the subsetting criteria.
All subsetting is
driven by the dimensions of the array foldResults
that is one of
the slots of the compExp
object (see "class?compExp" for
further details).
Namely, the parameter its
of this method allows
you to supply a vector with the subset of the repetitions of the
experimental comparison that are to be "extracted" (this option is
seldom used though as it is limited applicability).
The parameter
stats
allows you to indicate a vector with the subset of
evaluation statistics in the orginal object. Additionally, you can
instead provide a regular expression to be matched against the name
of the statistics measured in the experiment to specify the subset
you want to select.
The parameter vars
can be used to provide a vector with the subset of learners (models)
that are to be used in the subsetting. Additionally, you can
instead provide a regular expression to be matched against the name
of the learner variants evaluated in the experiment to specify the subset
you want to select.
Finally, the parameter dss
allows you to indicate a vector with the subset of data sets to be
extracted. Additionally, you can
instead provide a regular expression to be matched against the name
of the datasets used in the experiment to specify the subset
you want to select.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.