lore_sa - Local Rule-based Explanations
LORE (LOcal Rule-based Explanations) is a model-agnostic explanation method for black box classifiers. It provides interpretable explanations through decision rules, counterfactual scenarios, and feature importance scores.
Key Features:
Model-agnostic: Works with any black box classifier
Rule-based explanations: Natural IF-THEN rules
Counterfactual reasoning: Shows “what-if” scenarios
Feature importance: Identifies key decision factors
Production-ready: Stable and actionable implementation
Quick Links:
Getting Started
API Reference
Modules
- Modules
lore_sa.bbox: BlackBox abstract classlore_sa.dataset: Dataset classlore_sa.neighgen: Neighborhood Generator classeslore_sa.discretizer: Discretizer classes and functionslore_sa.encoder_decoder: Encoder/Decoder classes and functionslore_sa.explanation: Explanation classes and functionslore_sa.rule: Rule classes and functionslore_sa.surrogate: Surrogate classes and functionslore_sa.util: Util functions