Skip to content

[BUG] fix HistBinnedRegressor.predict return type#585

Merged
fkiraly merged 1 commit into
mainfrom
hist-reg-float-fix
Aug 25, 2025
Merged

[BUG] fix HistBinnedRegressor.predict return type#585
fkiraly merged 1 commit into
mainfrom
hist-reg-float-fix

Conversation

@fkiraly
Copy link
Copy Markdown
Collaborator

@fkiraly fkiraly commented Aug 23, 2025

Fixes an unreported bug in HistBinnedRegressor.predict which would return majority classes rather than the mean of the histogram distribution.

A corresponding test is also added to TestAllRegressors to ensure that all predict returns are float dtyped.

@fkiraly fkiraly added the bug label Aug 23, 2025
@fkiraly fkiraly requested a review from SaiRevanth25 as a code owner August 23, 2025 16:52
@fkiraly fkiraly added the module:regression probabilistic regression module label Aug 23, 2025
@fkiraly fkiraly merged commit f374176 into main Aug 25, 2025
32 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug module:regression probabilistic regression module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant