Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
yikai28 committed Jan 22, 2024
1 parent 5db12d3 commit 084068b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
clf.fit(X_train, y_train)

acc = clf.score(X_test, y_test)
print(acc)
print(f"acc:{acc}")
with open("metrics.txt", "w") as outfile:
outfile.write("Accuracy: " + str(acc) + "\n")

Expand Down

0 comments on commit 084068b

Please sign in to comment.