Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

slipper.py 598 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  1. from imodels.rule_set.boosted_rules import BoostedRulesClassifier
  2. from imodels.rule_set.slipper_util import SlipperBaseEstimator
  3. class SlipperClassifier(BoostedRulesClassifier):
  4. def __init__(self, n_estimators=10, **kwargs):
  5. '''
  6. An estimator that supports building rules as described in
  7. A Simple, Fast, and Effective Rule Learner (1999).
  8. Parameters
  9. ----------
  10. n_estimators
  11. '''
  12. super().__init__(estimator=SlipperBaseEstimator(), n_estimators=n_estimators, **kwargs)
  13. # super().__init__(n_estimators, SlipperBaseEstimator)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...