Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in nn.output:
- print(i, end=" Resulted: ")
- if i[0] > i[1]:
- print("AB", end=" Expected: ")
- if (_y[259:][k][0] == 1):
- print("AB")
- correct += 1
- print("CORRECT")
- else:
- print("NO")
- print("WRONG")
- else:
- print("NO", end=" Expected: ")
- if (_y[259:][k][0] == 0):
- print("NO")
- correct += 1
- print("CORRECT")
- else:
- print("AB")
- print("WRONG")
- k += 1
- print("ACCURACY: ", end="")
- print(correct/(310-259))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement