precompute_vimp | R Documentation |
Creates data assignment, extracts feature information and subsequently computes variable importance.
precompute_vimp(
formula = NULL,
data = NULL,
experiment_data = NULL,
cl = NULL,
experimental_design = "fs+mb",
fs_method = NULL,
fs_method_parameter = NULL,
verbose = TRUE,
...
)
formula |
An R formula. The formula can only contain feature names and
dot ( Use of the formula interface is optional. |
data |
A
All data is expected to be in wide format, and ideally has a sample
identifier (see In case paths are provided, the data should be stored as |
experiment_data |
Experimental data may provided in the form of |
cl |
Cluster created using the This parameter has no effect if the |
experimental_design |
(required) Defines what the experiment looks
like, e.g.
The different components are linked using Different subsampling methods can be used in conjunction with the basic workflow components:
As shown in the example above, sampling algorithms can be nested. The simplest valid experimental design is This argument is ignored if the |
fs_method |
(required) Feature selection method to be used for
determining variable importance. More than one feature selection method can be chosen. The experiment will then repeated for each feature selection method. Feature selection methods determines the ranking of features. Actual selection of features is done by optimising the signature size model hyperparameter during the hyperparameter optimisation step. |
fs_method_parameter |
(optional) List of lists containing parameters for feature selection methods. Each sublist should have the name of the feature selection method it corresponds to. Most feature selection methods do not have parameters that can be set. Please refer to the vignette on feature selection methods for more details. Note that if the feature selection method is based on a learner (e.g. lasso regression), hyperparameter optimisation may be performed prior to assessing variable importance. |
verbose |
Indicates verbosity of the results. Default is TRUE, and all messages and warnings are returned. |
... |
Arguments passed on to
|
This is a thin wrapper around summon_familiar
, and functions like
it, but automatically skips learning and subsequent evaluation steps.
The function returns an experimentData
object, which can be used to
warm-start other experiments by providing it to the experiment_data
argument. Variable importance may be retrieved from this object using the
get_vimp_table
and aggregate_vimp_table
methods.
An experimentData
object.
get_vimp_table
, aggregate_vimp_table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.