text2class
text2class copied to clipboard
Hi, i want to ask how to check the accuracy of training?
I see the code for checking accuracy, but I don't know how to use it.
- Which part fo the code are you referring to?
- Are you looking for the final accuracy?
Yes, i just want to get the final accuracy.
With the dataset you want to calculate accuracy on, run it through the model to get predictions, then you can compare the predictions with the ground truth to calculate accuracy. If you really need a library, take a look at https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html