Plot Importance
1 | plot_importance(object, data, target, metric, sample_size = 100)
|
object |
An object of class model_fit. |
data |
A rectangular data object, such as a data frame. |
target |
The target variable. |
metric |
A metric funtion from the 'yardstick' package. |
sample_size |
The sample size used to estimate mean importance. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.