Skip to content
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

It would be more useful if flow plots gbm-mse graphs with points instead of line #13551

Closed
exalate-issue-sync bot opened this issue May 13, 2023 · 2 comments
Assignees

Comments

@exalate-issue-sync
Copy link

while building a model, as gbm skips scoring some trees (default behavior), it would be more useful to plot points instead of lines , bec gbm always reports the last point. Hence the user can extrapolate the behavior.
An example -
Building model using h2o-gbm and plotting using R-
tr = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/gbm_test/ecology_model.csv",key = "tr")
myX = setdiff(colnames(tr),c("Angaus","Site"))
myY = "Angaus"

tru.gbms = h2o.gbm(x = myX, y = myY,training_frame=tr,loss = "gaussian",ntrees =400, nbins=20,min_rows=1,max_depth=4,learn_rate=.01,validation_frame= tr)
aa = tru.gbms@model$mse_valid
plot(aa,col = "red",xlab = "number of trees",ylab = "mean squared error", type ="p")

@exalate-issue-sync
Copy link
Author

Prithvi Prabhu commented: Fixed in Flow 0.2.67

@DinukaH2O
Copy link
Contributor

JIRA Issue Migration Info

Jira Issue: PUBDEV-504
Assignee: Prithvi Prabhu
Reporter: Nidhi Mehta
State: Resolved
Fix Version: N/A
Attachments: Available (Count: 2)
Development PRs: N/A

Attachments From Jira

Attachment Name: ecology.png
Attached By: Nidhi Mehta
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-504/ecology.png

Attachment Name: mse_graph.png
Attached By: Nidhi Mehta
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-504/mse_graph.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants