I am using precision_recall_fscore_support
from sklearn
to calculate the micro-precision, and micro-recall.
The problem is that the function returns the exact same value for both of them. It is a multi-class classification problem and I am not sure what went wrong.
Here is the code:
t = precision_recall_fscore_support(y_test, classifier.predict(x_test), average='micro')
print(t)
Here is the output:
Micro accuracy: (0.3359375, 0.3359375, 0.3359375, None)
classifier.predict(x_test)
.classification_report
and add it to the question so we know the scores for each of your class without considering the average