Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. print "sum(yhat == y) * (1.0/len(np.transpose(yhat)))"
  2. print sum(yhat == y) * (1.0/len(np.transpose(yhat)))
  3.  
  4. sum(yhat == y) * (1.0/len(np.transpose(yhat)))
  5. [ 0. 0. 0. ..., 0. 0. 0.]
  6.  
  7. In [80]: sum(yhat == y) * (1.0/len(np.transpose(yhat)))
  8. Out[80]: 0.0426049908703591
  9.  
  10. In [81]: print "sum(yhat == y) * (1.0/len(np.transpose(yhat)))"
  11. Out[81]: sum(yhat == y) * (1.0/len(np.transpose(yhat)))
  12.  
  13. In [82]: print sum(yhat == y) * (1.0/len(np.transpose(yhat)))
  14. Out[82]: 0.0426049908704
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement