# Relative feature importance w.r.t hyperparameters

Could changing the hyperparameters of a model change relative feature importance?

Yes. The most obvious example is when using a Lasso regression : for an increasing $$\alpha$$ parameter you will have more and more coefficients set to zero. This resulting in a smaller set of features and thus a bigger share of feature importance for remaining features.