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

Add capability to inherit distributions supported by metalearner in Stacked Ensemble #8147

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 3 comments
Assignees

Comments

@exalate-issue-sync
Copy link

If all base models share the same distribution/family (and its parameters/link function) and that distribution/family is supported in metalearner automatically inherit it.

We support:

  • {{AUTO}} (for metalearner DeepLearning, DRF, GBM, XGBoost)
  • {{bernoulli}} (for metalearner DeepLearning, DRF, GBM, XGBoost)
  • {{quasibinomial}} (for metalearner GBM, XGBoost)
  • {{multinomial}} (for metalearner DeepLearning, DRF, GBM, XGBoost)
  • {{gaussian}} (for metalearner DeepLearning, DRF, GBM, XGBoost)
  • {{poisson}} (for metalearner DeepLearning, GBM, XGBoost)
  • {{gamma}} (for metalearner DeepLearning, GBM, XGBoost)
  • {{laplace}} (for metalearner DeepLearning, GBM)
  • {{quantile}} (for metalearner DeepLearning, GBM)
  • {{huber}} (for metalearner DeepLearning, GBM)
  • {{tweedie}} (for metalearner DeepLearning, GBM, XGBoost)
  • {{custom}} (for metalearner GBM)

And all supported family in GLM.

If there is at least one model that differs in distribution/family, we default to {{gaussian}}, {{bernoulli}}, {{multinomial}} depending on the task at hand.

The only exception to this rule is the case when one base model further specialises the distribution, e.g., all base models have gamma distribution and we have only one GLM base model with non-default link, if the metalearner supports it (e.g. is also a GLM) then we inherit the link since there was no other base model that would conflict with this GLM’s link. If we would have 2 GLM one with non-default link and one with default we would default to {{gaussian}} family with default link.

This jira also makes sure that if the user specifies {{distribution}}/ {{family}} in {{metalearner_params}}, we will pass it to metalearner without any changes to it.

@exalate-issue-sync
Copy link
Author

Erin LeDell commented: Let’s check to make sure all the distributions supported the base learners are able to be passed through to Stacked Ensemble.

@exalate-issue-sync
Copy link
Author

Erin LeDell commented: [~accountid:5e43370f5a495e0c91a74ebe] Can you update the Jira title & description to include other distributions (and list them)? Thx!

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7491
Assignee: Tomas Fryda
Reporter: Neema Mashayekhi
State: Resolved
Fix Version: 3.30.0.4
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4566
#4776

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

No branches or pull requests

2 participants