Refer to code ^^
..
from sklearn.metrics import classification_report
report = classification_report(y_test_true_list, y_test_pred_list, labels=labels, target_names=target_names)
fp = open('report.txt', 'w')
fp.write(report)
fp.close()
..
Thank you.
www.marearts.com
No comments:
Post a Comment