[Fixed] Flake8 issue

This commit is contained in:
Salvador E. Tropea
2025-11-30 15:46:11 -03:00
parent e72ea99a6e
commit 0b8bf65b57
+1 -1
View File
@@ -39,7 +39,7 @@ def get_e_measure(
all_scores = []
if chunk_size == -1:
chunk_size = round(64 / (pred.shape[0] * pred.shape[1] / (1<<20)))
chunk_size = round(64 / (pred.shape[0] * pred.shape[1] / (1 << 20)))
chunk_size = min(max(1, chunk_size), num_thresholds)
# Process thresholds in memory-efficient chunks