Skip to content

Commit

Permalink
Separate the link cells and update technical details of plain predica…
Browse files Browse the repository at this point in the history
…tes (other_cols)
  • Loading branch information
justin13601 committed Sep 24, 2024
1 parent 1b83a8d commit 1d76772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/source/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ These configs consist of the following four fields:
will be used).
- `value_min_inclusive`: See `value_min`
- `value_max_inclusive`: See `value_max`
- `other_cols`: This optional field accepts a 1-to-1 dictionary of column names to column values, and can be
used to specify further constraints on other columns (ie., not `code`) for this predicate.

A given observation will be gauged to satisfy or fail to satisfy this predicate in one of two ways, depending
on its source format.
Expand Down
9 changes: 7 additions & 2 deletions docs/source/notebooks/examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
"source": [
"# Task Examples\n",
"\n",
"Provided below are two examples of mortality prediction tasks that ACES could easily extract subject cohorts for. The configurations have been tested all the provided synthetic data in the repository (`[sample_data/](https://github.com/justin13601/ACES/tree/main/sample_data`), as well as the MIMIC-IV dataset loaded using MEDS & ESGPT (with very minor changes to the below predicate definition). The configuration files for both of these tasks are provided in the repository ([sample_configs/](https://github.com/justin13601/ACES/tree/main/sample_configs)), and cohorts can be extracted using the `aces-cli` tool:\n",
"\n",
"Provided below are two examples of mortality prediction tasks that ACES could easily extract subject cohorts for. The configurations have been tested all the provided synthetic data in the repository (`[sample_data/](https://github.com/justin13601/ACES/tree/main/sample_data`), as well as the MIMIC-IV dataset loaded using MEDS & ESGPT (with very minor changes to the below predicate definition). The configuration files for both of these tasks are provided in the repository ([sample_configs/](https://github.com/justin13601/ACES/tree/main/sample_configs)), and cohorts can be extracted using the `aces-cli` tool:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"aces-cli data.path='/path/to/MIMIC/ESGPT/schema/' data.standard='esgpt' cohort_dir='sample_configs/' cohort_name='...'\n",
"```"
Expand Down

0 comments on commit 1d76772

Please sign in to comment.