feature_importance#

Utils module containing feature importance calculations.

Functions

calculate_feature_importance_or_none(model, ...)

Calculate features effect on the label or None if the input is incorrect.

column_importance_sorter_dict(cols_dict, dataset)

Return the dict of columns sorted and limited by feature importance.

column_importance_sorter_df(df, ds, ...[, ...])

Return the dataframe of columns sorted and limited by feature importance.

validate_feature_importance(...[, eps])

Validate feature importance.