h2o-3 icon indicating copy to clipboard operation
h2o-3 copied to clipboard

GH-15983: Craft RuleFit Examples

Open shaunyogeshwaran opened this issue 1 year ago • 6 comments

#15983 Crafted new examples for the RuleFit algorithm to showcase the different parameters.

shaunyogeshwaran avatar Dec 22 '23 08:12 shaunyogeshwaran

Good call Veronika, I missed those rulefit specific parameters.

wendycwong avatar Mar 06 '24 17:03 wendycwong

@maurever What would some values for rule_importance and predict_rules be? The docs don't give much info

shaunyogeshwaran avatar Mar 20 '24 06:03 shaunyogeshwaran

@maurever What would some values for rule_importance and predict_rules be? The docs don't give much info

rule_importance is just output. So train the model and call model.rule_importance and same for predict_rules. E.g here.

valenad1 avatar Apr 26 '24 13:04 valenad1

Thanks, @valenad1, you are correct. It is my mistake to conclude them in the list of parameters. If I am correct, we can also add examples of how to use these functions. WDYT, @shaunyogeshwaran ?

maurever avatar Apr 29 '24 11:04 maurever

If I am correct, we can also add examples of how to use these functions. WDYT, @shaunyogeshwaran ?

Agreed, that is something I will be able to look into. @hannah-tillman what are your thoughts on this?

shaunyogeshwaran avatar Apr 30 '24 08:04 shaunyogeshwaran

Agreed, that is something I will be able to look into. @hannah-tillman what are your thoughts on this?

@shaunyogeshwaran Yeah adding those examples in won't be an issue. Both of those calls are in written out in the gen_rulefit.py page so instead of adding them to the bottom of the examples list you'll just add them to their respective sections like this under :return:

:examples:
>>> example content
>>> example content
>>> etc
"""

hannah-tillman avatar Apr 30 '24 12:04 hannah-tillman