Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions diabetes-v2/automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
binary_metrics_fairness_table:
- cohorts:
A1C:
- '>7'
- '>8'
- None
- Norm
Comment on lines +3 to +7
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
A1C:
- '>7'
- '>8'
- None
- Norm

Lets keep this limited to the "most important" groups.

Age:
- 70+
- '[0-10)'
- '[10-20)'
- '[20-50)'
- '[50-70)'
Gender:
- Female
- Male
Race:
- AfricanAmerican
- Asian
- Caucasian
- Hispanic
- Other
- Unknown
Taking Insulin:
- Down
- 'No'
- Steady
- Up
Taking Metformin:
- Down
- 'No'
- Steady
- Up
Comment on lines +24 to +33
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Taking Insulin:
- Down
- 'No'
- Steady
- Up
Taking Metformin:
- Down
- 'No'
- Steady
- Up

same removing non age-race-gender columns

options:
fairness_ratio: 0.2
metric_generator: 0.3333333333333333
metric_list:
- Accuracy
- Sensitivity
- Specificity
- PPV
per_context: false
score: Risk30DayReadmission
target: Readmitted within 30 Days
threshold: 0.2
plot_cohort_evaluation:
- cohorts:
Age:
- 70+
- '[0-10)'
- '[10-20)'
- '[20-50)'
- '[50-70)'
Race:
- AfricanAmerican
- Asian
- Caucasian
- Hispanic
- Other
- Unknown
options:
per_context: false
score_column: Risk30DayReadmission
target_column: Readmitted within 30 Days
thresholds:
- 0.2
- 0.1
3 changes: 3 additions & 0 deletions diabetes-v2/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ other_info:
event_path: "events.parquet"
prediction_path: "predictions.parquet"
metadata_path: "metadata.json"
automation_config: "automation.yml"
otel_export:
files: metrics.txt