Skip to content

Commit

Permalink
fix column dtype mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
vpchung committed May 8, 2024
1 parent 3543388 commit b4ed90e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions score.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def main():
if res.get("validation_status") == "VALIDATED":
pred = pd.read_csv(
args.predictions_file,
usecols=GOLDSTANDARD_COLS,
dtype=GOLDSTANDARD_COLS
usecols=PREDICTION_COLS,
dtype=PREDICTION_COLS
)
gold = pd.read_csv(
gold_file,
usecols=PREDICTION_COLS,
dtype=PREDICTION_COLS
usecols=GOLDSTANDARD_COLS,
dtype=GOLDSTANDARD_COLS
)
scores = score(gold, "disease", pred, "disease_probability")
status = "SCORED"
Expand Down

0 comments on commit b4ed90e

Please sign in to comment.