Open springcoil opened 8 years ago
Hello, for anyone still interested, I made a python3 port of this code which is now pip-installable:
pip install git+https://github.com/csinva/interpretability-implementations-demos
from imodels import RuleListClassifier
model = RuleListClassifier()
model.fit(X_train, y_train)
model.score(X_test, y_test)
preds = model.predict(X_test)
pip install git+https://github.com/csinva/interpretability-implementations-demos
For anyone using this, instead of from imodels import RuleListClassifier
, use from imodels.bayesian_rule_lists import RuleListClassifier
.
Thanks for making this pip-able!
so is it still only python 2 after python 2 is discontinued?
Hi is it possible to wrap this up into a pip or even better conda installable?