| weighted_importance | R Documentation |
Weights each tree's projection-based importance by a per-tree OOB quality score — '1 - error_rate' in '[0, 1]' for classification, and 'max(0, 1 - NMSE)' in '[0, 1]' for regression — then aggregates 'I_s × |a_j|' over splits. Computed lazily from the training data stored on the model; the result is cached.
weighted_importance(model)
model |
A |
**Sign semantics.** Entries are non-negative by construction (weights
and per-split contributions are both non-negative). A zero entry means
"this feature never appeared in a weighted OOB-contributing split,"
not "within noise." Contrast with permuted_importance,
where negative values are meaningful. Do not re-normalize — rely on
the ranking.
A non-negative numeric vector, one entry per feature.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.