Skip to content

Commit 2d0417d

Browse files
authored
fix 0 score in evaluate (#226)
1 parent 0a07cd4 commit 2d0417d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

model2vec/inference/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,6 @@ def evaluate_single_or_multi_label(
299299
report = classification_report(
300300
y,
301301
predictions,
302-
labels=np.arange(len(classes)),
303-
target_names=[str(c) for c in classes],
304302
output_dict=output_dict,
305303
zero_division=0,
306304
)

0 commit comments

Comments
 (0)