You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MSE and RMSE overflow for narrow integer target and forecast columns #337
Integer inputs are subtracted and squared before promotion, so valid target/forecast columns can produce an incorrect squared error. This also affects RMSE and occurs in both the pandas and Polars paths.
I reproduced this against main at 5a6ec8d. Tests covering int8, uint8 and int32, both backends, and cutoff grouping fail before promoting the operands to Float64 and pass afterward. The fix promotes both operands before subtraction; it does not claim exact arithmetic for integers beyond float64's precision.
Activity