Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rulefit: bug in multinomial classification #7517

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 3 comments
Closed

Rulefit: bug in multinomial classification #7517

exalate-issue-sync bot opened this issue May 11, 2023 · 3 comments

Comments

@exalate-issue-sync
Copy link

there is a bug for multinomial rfit case reproducible by this:

{code:java}
final Frame trainingFrame = parseTestFile("./smalldata/iris/iris_wheader.csv");
Scope.track(trainingFrame);

        final RuleFitModel.RuleFitParameters ruleFitParameters = new RuleFitModel.RuleFitParameters();
        ruleFitParameters._train = trainingFrame._key;
        ruleFitParameters._distribution = DistributionFamily.laplace;
        ruleFitParameters._response_column = "class";
        ruleFitParameters._seed = 0XFEED;
        ruleFitParameters._model_type = RuleFitModel.ModelType.RULES_AND_LINEAR;
        ruleFitParameters._max_rule_length = 5;
        ruleFitParameters._min_rule_length = 1;
        ruleFitParameters._max_num_rules = 1000;

        final RuleFit ruleFit = new RuleFit(ruleFitParameters);
        final RuleFitModel ruleFitModel = ruleFit.trainModel().get();

{code}

@exalate-issue-sync
Copy link
Author

Zuzana Olajcová commented: resolved in #5765

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Details

Jira Issue: PUBDEV-8133
Assignee: Zuzana Olajcová
Reporter: Zuzana Olajcová
State: Resolved
Fix Version: 3.34.0.4
Attachments: N/A
Development PRs: Available

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

Linked PRs from JIRA

#5765
#5831

@h2o-ops h2o-ops closed this as completed May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant