Closed marcjulianschwarz closed 1 year ago
The method _extract_rules() in the class RuleFit has List[Rule] as type annotation for the return value. However it returns the result of extract_rulefit() which returns a list of strings.
_extract_rules()
RuleFit
List[Rule]
extract_rulefit()
Thanks for catching this! Just fixed in 04ecbd8
The method
_extract_rules()
in the classRuleFit
hasList[Rule]
as type annotation for the return value. However it returns the result ofextract_rulefit()
which returns a list of strings.