Skip to content

Commit

Permalink
Update schema.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg authored Jul 30, 2024
1 parent 3f7c441 commit c922b44
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/meds/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ def patient_events_schema(custom_per_event_properties=[]):
label = pa.schema(
[
("patient_id", pa.int64()),
("prediction_time", pa.timestamp("us")),
# The patient who is being labeled.

("prediction_time", pa.timestamp("us")),
# The time the prediction is made.
# Machine learning models are allowed to use features that have timestamps less than or equal
# to this timestamp.

# Possible values for the label.
("boolean_value", pa.bool_()),
("integer_value", pa.int64()),
("float_value", pa.float64()),
Expand Down

0 comments on commit c922b44

Please sign in to comment.