concept-erasure
The Least-Squares Concept Erasure (LEACE) method effectively removes specified features to enhance model fairness and interpretability, preventing linear classifiers from detecting targeted concepts with minimal representation impact. The package can be installed via PyPI, offering two main classes, LeaceFitter and LeaceEraser, supporting batch and streaming operations. This allows seamless integration into various projects to manage feature influence in data models, and it's optimized for handling large datasets efficiently. Continuous updates are made to ensure compatibility across diverse machine learning frameworks.