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 4 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
5 changes: 3 additions & 2 deletions medmodels/treatment_effect/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ def with_patients_group(self, group: Group) -> TreatmentEffectBuilder:
return self

def with_time_attribute(
self, attribute: MedRecordAttribute
self, attribute: Optional[MedRecordAttribute]
MarIniOnz marked this conversation as resolved.
Show resolved Hide resolved
) -> TreatmentEffectBuilder:
"""Sets the time attribute to be used in the treatment effect estimation.

Args:
attribute (MedRecordAttribute): The time attribute.
attribute (Optional[MedRecordAttribute]): The time attribute. If None,
there is no temporal analysis, but only static one.

Returns:
TreatmentEffectBuilder: The current instance of the TreatmentEffectBuilder
Expand Down
Loading
Loading