Skip to content

Commit

Permalink
fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Oct 24, 2023
1 parent 4441f32 commit 5fd528a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoring/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_index_that_reaches_target(workload_df,
validation_target_reached = validation_series.apply(
lambda x: op(x, validation_target))
print(validation_target_reached)
target_reached = pd.Series(validation_target_reached[0])
target_reached = pd.Series(validation_target_reached)
# Remove trials that never reach the target
target_reached = target_reached[target_reached.apply(np.any)]

Expand Down

0 comments on commit 5fd528a

Please sign in to comment.