View source: R/machinelearning.R
| summary_var_importance | R Documentation |
Keep the top rows of each variable-importance table produced during model comparison.
summary_var_importance(performances, number.rows)
performances |
A list returned by |
number.rows |
Number of rows to keep from each variable-importance table. |
A list of truncated variable-importance tables, one per model.
performances <- list(
vips = list(
rf = data.frame(Mean = c(0.9, 0.7, 0.4), row.names = c("v1", "v2", "v3")),
svm = data.frame(Mean = c(0.8, 0.6, 0.5), row.names = c("v1", "v2", "v3"))
)
)
summary_var_importance(performances, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.