brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.84k stars 2.57k forks source link

correction of function calculate_accuracy() #47

Closed acadTags closed 6 years ago

acadTags commented 6 years ago

the number of correct labels should be len(label_nozero), instead of len(labels).