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

equal weighted ensembles of sample output types in linear_pool #109

Open
elray1 opened this issue Apr 24, 2024 · 0 comments
Open

equal weighted ensembles of sample output types in linear_pool #109

elray1 opened this issue Apr 24, 2024 · 0 comments

Comments

@elray1
Copy link
Contributor

elray1 commented Apr 24, 2024

If all three of the conditions in points below are satisfied, this function simply collects the samples from the component models and updates the sample indices to ensure that they are different for different component models:

  1. equal weights for all models,
  2. the same number of samples from each component model
  3. no limit on the number of samples the ensemble is allowed to produce

We need to ensure that the output type ids are distinct for samples from different component models, and have the right data type. A proposal is to paste the input/component model_id together with the output_type_id provided by that model to ensure that they are distinct across models. If the output_type_ids should be numeric, we can do the as.integer(factor(…)) trick to convert these to distinct integers.

If any of the above conditions are not satisfied, this function will throw an error.

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

No branches or pull requests

1 participant