Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to extract rules from FIGSClassifier ? #189

Open
frankl1 opened this issue Aug 25, 2023 · 3 comments
Open

How to extract rules from FIGSClassifier ? #189

frankl1 opened this issue Aug 25, 2023 · 3 comments

Comments

@frankl1
Copy link

frankl1 commented Aug 25, 2023

Hi,

I am trying to use the FIGSClassifier for a binary classification. I set the maximum number of rules, I can plot the trees, but how can I get the generated rules. If possible, with their confidence?

Regards

@xhxt2008
Copy link

xhxt2008 commented Sep 20, 2023

a same question in BoostedRulesClassifier. I cant get rules as the tutoril book

image

@mepland
Copy link
Collaborator

mepland commented Oct 12, 2023

For FIGS, you can follow the example in figs_demo.ipynb which uses extract_sklearn_tree_from_figs() and SKompiler to extract the rules for individual trees.

@frankl1
Copy link
Author

frankl1 commented Aug 7, 2024

Thanks,
I will have a look. Are there plan to unify how rules are extracted from any imodels model ? I can see there is a Rule class in the code, but it is not used consistently in the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants