export_permutation_vimp | R Documentation |
Extract and export model-based variable importance from a familiarCollection.
export_permutation_vimp(
object,
dir_path = NULL,
aggregate_results = TRUE,
export_collection = FALSE,
...
)
## S4 method for signature 'familiarCollection'
export_permutation_vimp(
object,
dir_path = NULL,
aggregate_results = TRUE,
export_collection = FALSE,
...
)
## S4 method for signature 'ANY'
export_permutation_vimp(
object,
dir_path = NULL,
aggregate_results = TRUE,
export_collection = FALSE,
...
)
object |
A |
dir_path |
Path to folder where extracted data should be saved. |
aggregate_results |
Flag that signifies whether results should be aggregated for export. |
export_collection |
(optional) Exports the collection if TRUE. |
... |
Arguments passed on to
|
Data, such as permutation variable importance and calibration
information, is usually collected from a familiarCollection
object.
However, you can also provide one or more familiarData
objects, that will
be internally converted to a familiarCollection
object. It is also
possible to provide a familiarEnsemble
or one or more familiarModel
objects together with the data from which data is computed prior to export.
Paths to the previously mentioned files can also be provided.
All parameters aside from object
and dir_path
are only used if object
is not a familiarCollection
object, or a path to one.
Permutation Variable importance assesses the improvement in model performance due to a feature. For this purpose, the performance of the model is measured as normal, and is measured again with a dataset where the values of the feature in question have been randomly permuted. The difference between both performance measurements is the permutation variable importance.
In familiar, this basic concept is extended in several ways:
Point estimates of variable importance are based on multiple (21) random permutations. The difference between model performance on the normal dataset and the median performance measurement of the randomly permuted datasets is used as permutation variable importance.
Confidence intervals for the ensemble model are determined using bootstrap methods.
Permutation variable importance is assessed for any metric specified using
the metric
argument.
Permutation variable importance can take into account similarity between features and permute similar features simultaneously.
A data.table (if dir_path
is not provided), or nothing, as all data
is exported to csv
files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.