-
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
GAM not working with weight column #7252
Comments
Wendy commented: Code from Michalk: {noformat} h2o_model = H2OGeneralizedAdditiveEstimator(family="tweedie",
|
Wendy commented: Check out offset columns as well since you are already at it. |
Wendy commented: Here is the complete code from Arun: {noformat}np.random.seed(1234) data = { train = h2o.H2OFrame(pd.DataFrame(data)) h2o_model.predict(train){noformat} The strange part is after the execution of h2o_model.train() causes the train dataframe missing chunks in the weight column:
|
Wendy commented: Looks like the weight vector is deleted. Went back and realized that I added Scope.track(weight) by mistake. This is only necessary if I am generating a weight vector of ones! |
JIRA Issue Details Jira Issue: PUBDEV-8407 |
Some dumb ass (me) forget to check GAM with weights column.
The text was updated successfully, but these errors were encountered: