Skip to content

Commit

Permalink
dev(narugo): larger code
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Sep 2, 2024
1 parent 7ee4085 commit a701265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zoo/pyannote/embedding/encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ def find_optimal_threshold(positive_scores, negative_scores, max_samples: int =
return best_threshold, best_f1


optimal_threshold, max_f1 = find_optimal_threshold(y, x, max_samples=1000000)
optimal_threshold, max_f1 = find_optimal_threshold(y, x, max_samples=3000000)
print(f"Optimal threshold: {optimal_threshold}")
print(f"Max F1 score: {max_f1}")

0 comments on commit a701265

Please sign in to comment.