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

feat: making static analysis as the default option for the TEE #274

Merged
merged 5 commits into from
Jan 15, 2025
Merged
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
6 changes: 6 additions & 0 deletions medmodels/treatment_effect/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class TreatmentEffectBuilder:
The TreatmentEffectBuilder class is used to build a TreatmentEffect object with
the desired configurations for the treatment effect estimation using a builder
pattern.

By default, it configures a static treatment effect estimation. To configure a
time-dependent treatment effect estimation, the time_attribute must be set.
"""

treatment: Group
Expand Down Expand Up @@ -97,6 +100,9 @@ def with_time_attribute(
) -> TreatmentEffectBuilder:
"""Sets the time attribute to be used in the treatment effect estimation.

It turs the treatment effect estimation from a static to a time-dependent
analysis.

Args:
attribute (MedRecordAttribute): The time attribute.

Expand Down
Loading
Loading