Description Usage Arguments Value
View source: R/importance_plot.R
The function returns a barplot for feature importance vectors.
1 | importance_plot(importance, n = NULL, threshold = NULL)
|
importance |
A named vector of importance values. If supported,
the output of |
n |
An integer. The maximum number of importance values included into the plot (default: NULL, indicating all importance values will be plotted). Restrictions: 0 < n <= 'length(importance)'. |
threshold |
A numeric. The threshold of importance values to be included into the plot (default: NULL). Restrictions: 0 < threshold < 1. Please note, that if 'n' and 'threshold' are provided, 'threshold' is ignored. |
An importance plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.