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 documentation for the new GAM hyperparameter: constraint #7918

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment
Closed

Add documentation for the new GAM hyperparameter: constraint #7918

exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment
Assignees

Comments

@exalate-issue-sync
Copy link

"We have added a constraint parameter into gridsearch hypterparameter. The constraint parameter is a list of model parameters. Model parameters in the same constraint list can vary freely among each other. The purpose of introducing the constraint parameter is to group model parameters that can vary with restrictions. For example, for GAM, the following parameters if specified must have the same array dimension:
gam_columns
scale
num_knots
bs.
These parameters can be specified in the hyper_parameters as follows:
hyper_parameters = {‘alpha’:[0.9, 0.1],
‘constraints’: [{‘scale’:[[1,1,1],[0.1, 0.1, 0.1]], ‘num_knots’:[[4,4,4],[5,5,5]], ‘gam_columns’:[[“C1”,“C2",“C3”]]}, {‘scale’:[[1,1],[0.1, 0.1,]], ‘num_knots’:[[4,4],[5,5]], ‘gam_columns’:[[“C2",“C3”]]}].
With this hyper-parameter specification, there will be 16 GAM models built."

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7721
Assignee: hannah.tillman
Reporter: hannah.tillman
State: Resolved
Fix Version: 3.30.1.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4844

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