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

Provide a function to change the binarisation threshold #8284

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment
Closed

Provide a function to change the binarisation threshold #8284

exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

A customer needs to change the threshold that is used to binarise the predicted class probabilities. The only way now is to change the default_threshold in model.ini, so it would be better if the user could change that threshold directly on a model object and then the new threshold would be used both in the binary model or MOJO. E.g.:

{code:r}
model <- h2o.randomForest(...)
h2o.set_threshold(model, 0.6)
{code}

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7353
Assignee: Veronika Maurerová
Reporter: Vaclav
State: Resolved
Fix Version: 3.30.0.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4552
#4466

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