Skip to content

Commit

Permalink
added patient_id to the pretraining data for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoPang committed Sep 12, 2024
1 parent 9ecaca5 commit 34b16d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from cehrbert.runners.hf_runner_argument_dataclass import DataTrainingArguments

CEHRBERT_COLUMNS = [
"person_id",
"concept_ids",
"ages",
"dates",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self, data_args: DataTrainingArguments, is_pretraining: bool = True

def remove_columns(self):
if self._is_pretraining:
return ["visits", "patient_id", "birth_datetime", "index_date"]
return ["visits", "birth_datetime", "index_date"]
else:
return [
"visits",
Expand Down
Empty file.

0 comments on commit 34b16d8

Please sign in to comment.