skope-rules
skope-rules copied to clipboard
machine learning with logical rules in Python
Since `sklearn.externals.six` is deprecated as of version 0.23 (https://github.com/scikit-learn/scikit-learn/pull/12916/files), a fresh install of skopes with the latest version of sklearn will yield the following error: ``` ImportError: cannot import name...
Due to the removal of `Iterable` from `collections`, `skrules/skope_rules.py` cannot be imported under Python 3.10. This PR fixes this issue
Hi! The package import spell, which is clearly described in the package readme, does not work   Six imported. What should I do to make the package work?
1) Can SkopeRules be used for multiclass classification or only binary classification. 2) How do I interpret the outputted decision rules? Do the top-k rules in the [example notebook](https://github.com/scikit-learn-contrib/skope-rules/blob/master/notebooks/demo_titanic.ipynb) correspond...
Minimal example: ``` >>> import sklearn >>> sklearn.__version__ 1.0.1 >>> import skrules --------------------------------------------------------------------------- ImportError Traceback (most recent call last) in ----> 1 import skrules ~/.virtualenvs/risk-modeling/lib/python3.9/site-packages/skrules/__init__.py in ----> 1 from .skope_rules...
what is nb? https://skope-rules.readthedocs.io/en/latest/skope_rules.html For example skope_rules_clf.rules_ [('Pclass 0.5', (0.9527320854603895, 0.5283115637180831, 6))] rules_(dict of tuples (rule, precision, recall, nb).) The collection of n_estimators rules used in the predict method. The...
I think the oob score computed in the fit function is wrong. The authors get the oob sample indices by "mask = ~samples", and then apply X[mask, :] to get...
Hi I think this package looks fantastic. I am wondering, however, what your plans are for implementing SkopeRules for regression. Are there any plans? [I've made a start for adding...
### Description This PR contains some fixes to get tests working and build passing, primarily around updating tests and imports to handle deprecation of various sklearn testing functions and other...