-
Notifications
You must be signed in to change notification settings - Fork 2k
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
h2o.predict
wrong when supplied a mojo with offset_column
and fold_column
#15697
Comments
h2o.predict
wrong when supplied a GLM mojo with offset_column
and fold_column
h2o.predict
wrong when supplied a mojo with offset_column
and fold_column
Hi @syzonyuliia and @wendycwong, I wanted to follow-up again on this issue to see if it's possibly been reproduced on your end? It feels like a pretty severe bug, especially because it's silently returning bad vales, so I hope it could be addressed. Thank you! |
Hi Hutch: I am in the middle of resolving a customer issue. Will take a look at this issue next. |
Paul: I solved the problem. Mojo failed to recognize fold column and hence use the wrong column as the offset column. You can fix the problem on your side by removing the fold column before calling the prediction. I fixed the problem but it will take a while to merge this into 3.46.0.2. Thank you so much for bringing this to my attention. W |
Thank you, Wendy, that's great to hear! |
* GH-15697: add R test to reproduce error. * add generic model to test as well. * Add fold column info to generic model. * add compareFrame to compare prediction results. * add prediction with fold column removed Co-authored-by: wendycwong <[email protected]> Co-authored-by: Veronika Maurerová <[email protected]>
H2O version, Operating System and Environment
Occurs in 3.42.0.2 and at least as far back as 3.36.0.4
Occurred on Windows and Linux versions of R:
Actual behavior
Predictions from an imported mojo, when the GLM was built with both an
offset_column
and afold_column
are incorrect. They do not match the in-memory model or the binary model object.Expected behavior
The predictions should match and should incorporate the effect of the offset.
Steps to reproduce
Upload logs
NA
Screenshots
NA
Additional context
It seems related to these issues I previously submitted (and were resolved):
#6955 and #6980
The text was updated successfully, but these errors were encountered: