Skip to content

Commit

Permalink
updated the prediction output schema to be compatible with the meds-e…
Browse files Browse the repository at this point in the history
…valuation
  • Loading branch information
ChaoPang committed Dec 9, 2024
1 parent 2772603 commit 181c765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cehrbert/runners/hf_cehrbert_finetune_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ def do_predict(test_dataloader: DataLoader, model_args: ModelArguments, training
{
"subject_id": person_ids,
"prediction_time": index_dates,
"boolean_prediction_probability": probabilities,
"boolean_prediction": logits,
"predicted_boolean_probability": probabilities,
"predicted_boolean_value": None,
"boolean_value": labels,
}
)
Expand Down

0 comments on commit 181c765

Please sign in to comment.