Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to calculate accuracy with two lists in python

sum(1 for x,y in zip(a,b) if x == y) / float(len(a))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #calculate #accuracy #lists #python
ADD COMMENT
Topic
Name
1+3 =