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

weighted interventions #4986

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

weighted interventions #4986

wants to merge 6 commits into from

Conversation

blanchco
Copy link
Contributor

@blanchco blanchco commented Sep 30, 2024

Description

  • adding weighted interventions to optimize

Warning:

Old optimize nodes will not be functional after this is merged

Note required:

DARPA-ASKEM/pyciemss-service#121

Screenshot 2024-09-30 at 4 30 57 PM

@blanchco blanchco self-assigned this Sep 30, 2024
@blanchco
Copy link
Contributor Author

will need to merge this first:
DARPA-ASKEM/pyciemss-service#121

const inactivePolicyGroups = computed(() => knobs.value.interventionPolicyGroups.filter((ele) => !ele.isActive));
const inactivePolicyGroups = computed(() =>
Copy link
Contributor

@Tom-Szendrey Tom-Szendrey Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also include any groups that have a relative weight of 0.

If a user plugs in a static intervention that they do not want to optimize over but they want to have impact this is known as a fixed_static_parameter_interventions or a fixed_static_state_interventions Both of these should still be available to the user
See line 789 in this file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should include those groups that have relative weight of 0. If ele.relativeImportance is 0 this is falsy and will be added to the inactive policy groups

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

Successfully merging this pull request may close these issues.

[FEAT]: Add intervention weights for relative importance in Optimize
3 participants