feature_importances(X, model, n_feats=5, figargs=None)¶
Plot feature importances.
- X (pd.DataFrame) – A dataframe with which you have trained.
- model – Any fit model with a
- n_feats (int) – The number of features to plot.
>>> import henchman.plotting as hplot >>> plot = hplot.feature_importances(X, model, n_feats=10) >>> hplot.show(plot)