Are you sure you want to delete this access key?
Demos of how to use various interpretability techniques (accompanying slides here) and code for implementations of interpretable machine learning models.
Provides scikit-learn style wrappers/implementations of different interpretable models (see readmes in individual folders within imodels for details)
The interpretable models within the imodels folder can be easily installed and used.
pip install git+https://github.com/csinva/interpretability-implementations-demos
from imodels import RuleListClassifier, RuleFit, GreedyRuleList, SLIM
model = RuleListClassifier() # Bayesian Rule List
model.fit(X_train, y_train)
model.score(X_test, y_test)
preds = model.predict(X_test)
The demos are contained in 3 main notebooks, following this cheat-sheet:
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?