Produces a styled gt table of feature importance with a colour gradient. Supports tree-based, regularised, and xgboost models.
Value
A gt table object.
Examples
# \donttest{
model <- tl_model(iris, Species ~ ., method = "forest")
tl_table_importance(model)
Feature Importance
Top 4 features
tidylearn | forest (classification) | Species ~ . | n = 150
# }
