Skip to content

Commit

Permalink
remove breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Nov 27, 2024
1 parent d44f73a commit 9027e43
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions amlb/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,11 @@ def validate_predictions(predictions: pd.DataFrame):
predictors_set = set(range(len(predictors)))

def validate_row(row) -> bool:
breakpoint()
return row[:-2].astype(float).values.argmax() == row[-2]
else:
predictors_set = set(predictors)

def validate_row(row) -> bool:
breakpoint()
return row[:-2].astype(float).idxmax() == row[-2]

truth_set = set(truth.unique())
Expand Down

0 comments on commit 9027e43

Please sign in to comment.