tl_plot_importance_regularized: Plot variable importance for a regularized regression model

View source: R/supervised-regularization.R

tl_plot_importance_regularizedR Documentation

Plot variable importance for a regularized regression model

Description

Plot variable importance for a regularized regression model

Usage

tl_plot_importance_regularized(model, lambda = "1se", top_n = 20, ...)

Arguments

model

A tidylearn regularized model object

lambda

Which lambda to use ("1se" or "min", default: "1se")

top_n

Number of top features to display (default: 20)

...

Additional arguments

Value

A ggplot object


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.