aerdem4/lofo-importance

Leave One Feature Out Importance

60
/ 100
Established

Iteratively removes each feature and retrains the model across validation folds to measure performance impact, providing model-agnostic importance scores that account for feature interactions and generalize to unseen data. Supports custom validation schemes, custom models (defaults to LightGBM), and feature grouping for high-dimensional features; also includes FLOFO, a faster permutation-based variant that groups samples during shuffling to avoid unrealistic feature value replacements.

863 stars and 1,583 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 17 / 25
Maturity 25 / 25
Community 18 / 25

How are scores calculated?

Stars

863

Forks

83

Language

Python

License

MIT

Last pushed

Feb 14, 2025

Monthly downloads

1,583

Commits (30d)

0

Dependencies

7

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/aerdem4/lofo-importance"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.