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

Stacked Ensembles don't respect the schema of the base models #7800

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

Stacked Ensembles don't respect the schema of the base models #7800

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

Comments

@exalate-issue-sync
Copy link

Stacked Ensembles don't seem to have special way of inferring the input schema (input columns) of the model, this means it will ignore a column that is "almost constant" (has NAs and a single other value). However, the base models might not ignore such a column (this is the case of tree based models for which it has information).

Stacked Ensembles need to make sure that they will not ignore a column that is used in a base model. They need to respect the setting of the base models.

This exception is shown in MOJO scoring:
{{java.lang.IllegalStateException: Model ‘DRF_1_AutoML_20201015_130809’ is expected to have has non-standard number of columns.}}
{{ at hex.genmodel.algos.ensemble.StackedEnsembleMojoReader.createMapping(StackedEnsembleMojoReader.java:43)}}
{{ at hex.genmodel.algos.ensemble.StackedEnsembleMojoReader.readParentModelData(StackedEnsembleMojoReader.java:28)}}

@exalate-issue-sync
Copy link
Author

Michal Kurka commented: See [https://github.com//pull/5052|https://github.com//pull/5052|smart-link] for a reproducer

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7842
Assignee: Tomas Fryda
Reporter: Michal Kurka
State: Resolved
Fix Version: 3.32.1.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#5052
#5055

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