Description
Calculating recall using micro-averaging needs to be optimized for large scale dense arrays.
Steps/Code to Reproduce
from sklearn.metrics import recall_score
recall = recall_score(actual, predictions, average='micro')
Versions
Darwin-15.5.0-x86_64-i386-64bit
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]
NumPy 1.11.1
SciPy 0.18.1