-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from DARPA-ASKEM/reorg
Preliminary help reorganization and updates
- Loading branch information
Showing
42 changed files
with
1,200 additions
and
1,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
docs/config-and-intervention/create-intervention-policy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
title: Create and optimize an intervention policy | ||
--- | ||
|
||
# Create and optimize an intervention policy | ||
|
||
## Create an intervention policy | ||
|
||
More info coming soon. | ||
|
||
## Optimize an intervention policy | ||
|
||
When you optimize an intervention policy, you specify a set of constraints to find the optimal combination of parameters that match your objective. | ||
|
||
<figure markdown>![](../img/models/model-optimize-operator.png)<figcaption markdown>How it works: [PyCIEMSS](https://github.com/ciemss/pyciemss/blob/main/pyciemss/interfaces.py#L747) :octicons-link-external-24:{ alt="External link" title="External link" }</figcaption></figure> | ||
|
||
<div class="grid cards" markdown> | ||
|
||
- :material-arrow-collapse-right:{ .lg .middle aria-hidden="true" } __Inputs__ | ||
|
||
--- | ||
|
||
- Model configuration | ||
- Intervention policy | ||
|
||
- :material-arrow-expand-right:{ .lg .middle aria-hidden="true" } __Outputs__ | ||
|
||
--- | ||
|
||
Optimized model configuration | ||
|
||
</div> | ||
|
||
???+ list "To optimize an intervention policy" | ||
|
||
1. [Configure the model](../config-and-intervention/configure-model.md). | ||
2. Right-click anywhere on the workflow graph and select **Simulation** > **Optimize intervention policy**. | ||
3. Connect the Configure model output to the Optimize input. | ||
4. Click **Edit**. | ||
5. Configure the optimization settings as needed: | ||
|
||
- **Start** and **End time**: Specify the simulation time range. | ||
- **Number of samples to simulate model**: Enter the number of stochastic samples to draw from the model. | ||
- **Solver method**: Choose whether to solve ordinary differential equations using [dopri5](https://en.wikipedia.org/wiki/Dormand-Prince_method) or [euler](https://en.wikipedia.org/wiki/Euler_method). | ||
|
||
6. Specify your intervention policies: | ||
|
||
- **Parameter**: the parameter you want to optimize. | ||
- **Initial guess**: your initial guess for the optimization. | ||
- **Lower** and **Upper bound**: how much the parameter can vary. | ||
- **Start time**: the start time of the model. | ||
To set additional interventions, click :octicons-plus-24:{ aria-hidden="true" } **Add more interventions**. | ||
|
||
7. Add a constraint that limits the optimized configuration: | ||
- Select the **target variables**. | ||
- Set the **Acceptable risk of failure** and **Threshold**. | ||
8. Click :material-play-outline:{ aria-hidden="true" } **Run**. | ||
9. Save the the results: | ||
- Enter a **Model config name** and click **Save as new model configuration**. | ||
- Click :fontawesome-solid-floppy-disk:{ aria-hidden="true" } **Save as new dataset**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Configuration and intervention | ||
--- | ||
|
||
# Configuration and intervention | ||
|
||
More info coming soon. | ||
|
||
- [Configure a model](configure-model.md) | ||
- [Create and optimize an intervention policy](create-intervention-policy.md) |
Oops, something went wrong.