Changeset 05dbb13 in git for machine_learning/model/predictor.py
- Timestamp:
- Jul 29, 2019, 5:43:56 PM (5 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- c1b9ababa50e8059dd847da0957f50aea901e6a8
- Parents:
- 9f0f63787f503527775273cff2d354bd558c9cda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
machine_learning/model/predictor.py
r9f0f63 r05dbb13 117 117 print(prediction) 118 118 119 120 test_vec = count_occurances("test.txt", dictionary) 121 start = time.time() 122 prediction = predictor.predict(np.array([test_vec])) 123 end = time.time() 124 print(end - start, "seconds to make prediction") 125 print(prediction) 126 119 127 if __name__ == '__main__': 120 128 cProfile.run("main()")
Note: See TracChangeset
for help on using the changeset viewer.