Skip to content

Commit df92705

Browse files
committed
Hopefully more compact keys for known seeds
1 parent 4ecdb5c commit df92705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks_jason/max_of_K_all_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3266,7 +3266,7 @@ def do_linear_regression(X, Y):
32663266
]
32673267
print(f"len after: {len(df)}")
32683268

3269-
sorted_known_seeds = tuple(sorted(df["seed"].values))
3269+
sorted_known_seeds = np.unique(np.array(df["seed"].values), return_counts=True)
32703270
# Group by 'attention_error_handling' and calculate the max 'normalized-accuracy-bound' for sorting groups
32713271
df = df[
32723272
[

0 commit comments

Comments
 (0)