get_model_relevance_table

get_model_relevance_table(df: pandas.core.frame.DataFrame, df_exog: pandas.core.frame.DataFrame, model: Union[sklearn.tree._classes.DecisionTreeRegressor, sklearn.tree._classes.ExtraTreeRegressor, sklearn.ensemble._forest.RandomForestRegressor, sklearn.ensemble._forest.ExtraTreesRegressor, sklearn.ensemble._gb.GradientBoostingRegressor, catboost.core.CatBoostRegressor]) pandas.core.frame.DataFrame[source]

Calculate relevance table with feature importance from model.

Parameters
Returns

dataframe with feature importance values.

Return type

pd.DataFrame