Skip to content

Commit

Permalink
fix index error train model
Browse files Browse the repository at this point in the history
  • Loading branch information
XxRemsteelexX committed Aug 2, 2024
1 parent f25065b commit 92ef071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@
model = model
)
with open("slice_output.txt", "a") as f:
print(f"{col}: {slicevalue}, Count: {count:,}", file=f)
print(f"Precision: {p:.4f} | Recall: {r:.4f} | F1: {fb:.4f}", file=f)
print(f"{col}: {slicevalue}, Count: {count:,}", file=f)
print(f"Precision: {p:.4f} | Recall: {r:.4f} | F1: {fb:.4f}", file=f)

0 comments on commit 92ef071

Please sign in to comment.