/nullpom

Library to easily run Null Importances.

Primary LanguagePython

Test with pytest Format with black Downloads Downloads Code style: black

nullpom

Library to easily run Null Importances.

About Null Importances

Null Importances is feature selection process using target permutation tests actual importance significance against the distribution of feature importances when fitted to noise (shuffled target).

Detail

Output

output

Basic usage

from nullpom import run_null_importance

result = run_null_importance(
    {"objective": "binary", "seed": 42},
     X_train=X_train,
    X_valid=X_valid,
    y_train=y_train,
    y_valid=y_valid,
)

Install

pip install nullpom