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

combineasy and the DiseasyEnsemnle class #166

Draft
wants to merge 175 commits into
base: main
Choose a base branch
from
Draft

Conversation

RasmusSkytte
Copy link
Contributor

@RasmusSkytte RasmusSkytte commented Feb 7, 2025

Intent

This PR adds helpers to creating and managing model ensembles

Approach

This Pr Adds the combineasy() helper function which injects parameters and functional modules into model templates to create the model ensemble.

A model ensemble is here a list of model instances which we give the class DiseasyEnsemble.

By giving the class to list, we can now create the standard generics print, summary and plot which allows us to inspect the ensemble and create plots from it.

Known issues

A predict generic should probably be added and used internally in plot.

Missing fig.alt text in creating-ensembles.Rmd

Gracefully handle missing suggests in creating-ensembles.Rmd

plot() example is missing arguments

Waiting on

Checklist

  • The PR passes all local unit tests
  • I have documented any new features introduced
  • If the PR adds a new feature, please add an entry in NEWS.md
  • A reviewer is assigned to this PR

RasmusSkytte and others added 30 commits January 27, 2025 15:18
@RasmusSkytte RasmusSkytte self-assigned this Feb 7, 2025
@RasmusSkytte RasmusSkytte added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant