Zaktualizuj 'predict.py'

This commit is contained in:
Michał Dudziak 2023-05-10 17:52:33 +02:00
parent 89c60f07ba
commit d72ce5076a

View File

@ -29,3 +29,5 @@ with open('metrics.txt', 'w') as f:
f.write(f"Accuracy: {accuracy:.4f}\n") f.write(f"Accuracy: {accuracy:.4f}\n")
f.write(f"Micro-average Precision: {precision:.4f}\n") f.write(f"Micro-average Precision: {precision:.4f}\n")
f.write(f"Micro-average F1-score: {f1:.4f}\n") f.write(f"Micro-average F1-score: {f1:.4f}\n")
os.system("docker cp metrics.txt . ")