Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Scoring on Test/Validation dataset requires offset column #15521

Unanswered
hasithjp asked this question in Technical Notes
Discussion options

Motivation

For H2O models trained with an offset column it is necessary to provide offset column for scoring as well otherwise H2O throws an error. Even though in most cases omission of the offset column is likely a mistake there are use cases when user doesn't have the information at scoring time and still wants to make a prediction and post-process the prediction later.

Solution

If offset column is not available at scoring time, user needs to explicitly create a zero offset column. This will make the algorithms behave as if the offset was not specified.

Example:

library(h2o)
h2o.init(nthreads = -1)

# TODO: add an example

References

JIRA Issue Migration Info

Jira Issue: TN-12
Assignee: Michal Kurka
Reporter: Michal Kurka
State: In Progress

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.