Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new = []
- for k in features:
- 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)])
- print type(v)
- print v
- print 'v = '
- print models[features[i]].predict(v)
- for elem in samples[k]:
- new = np.append(new, np.float32(elem))
- print type(new)
- print new
- a = models[features[i]].predict(new)
Advertisement
Add Comment
Please, Sign In to add comment