scikit-learn-contrib / skope-rules

machine learning with logical rules in Python
http://skope-rules.readthedocs.io
Other
615 stars 95 forks source link

how to limit number of rules and number of conditions in rules #32

Open Sandy4321 opened 4 years ago

Sandy4321 commented 4 years ago

can you help to clarify how to set parameters 1 to limit number of rules 2 to limit number of conditions in rules

like done in by use of max_card=2, to set maximum number of rules to 2 https://github.com/fingoldin/pycorels C = CorelsClassifier(max_card=2, c=0.0, verbosity=["loud", "samples"])

Sandy4321 commented 4 years ago

meaning but get best performance for this constrains