2n2u

Untitled

May 19th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | None | 0 0
  1. new = []
  2.         for k in features:
  3.             v = np.array([np.float32(0.1), np.float32(0.1), np.float32(0.1), np.float32(0.1), np.float32(0.1), np.float32(0.1)])
  4.             print type(v)
  5.             print v
  6.             print 'v = '
  7.             print models[features[i]].predict(v)
  8.             for elem in samples[k]:
  9.                 new = np.append(new, np.float32(elem))
  10.             print type(new)
  11.             print new
  12.             a = models[features[i]].predict(new)
Advertisement
Add Comment
Please, Sign In to add comment