'Computing Macro Precision and Recall score using numpy python(Without using scikit learn)
This is similar to this question, but instead of F1. I need to compute Precision and Recall. I cannot use scikit-learn (even if it's optimized) because of the virtual machine that I have to use for this*.
Actual = np.array(["A","A","B","C","C"])
predicted = np.array[("A","A","B","C","C")]
I currently have some compatibility issues with numpy 1.19 and sklearn 0.23, but helpdesk is investigating that. In the mean time, I've to look for alternatives.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
