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

Fix probability calculation for uBoostClassifier #88

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

ehhov
Copy link

@ehhov ehhov commented Oct 15, 2024

  • Change method names uBoostBDT._uboost_predict_score and _uboost_staged_predict_score to *_predict_proba to avoid confusion.
  • In uBoostClassifier.predict_proba and staged_predict_proba, average the results of individual uBoostBDTs instead of applying a sigmoid.

This pull request is following the recently opened issue #87.

- Change method names uBoostBDT._uboost_predict_score and
  _uboost_staged_predict_score to *_predict_proba to avoid confusion.
- In uBoostClassifier.predict_proba and staged_predict_proba, average
  the results of individual uBoostBDTs instead of applying a sigmoid.
@arogozhnikov
Copy link
Owner

yup, thanks for renaming too!

@arogozhnikov arogozhnikov merged commit 9cafaad into arogozhnikov:master Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants