h2o-3
h2o-3 copied to clipboard
GH-15983: Craft RuleFit Examples
#15983 Crafted new examples for the RuleFit algorithm to showcase the different parameters.
Good call Veronika, I missed those rulefit specific parameters.
@maurever What would some values for rule_importance
and predict_rules
be? The docs don't give much info
@maurever What would some values for
rule_importance
andpredict_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.
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 ?
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?
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
"""