Ignore:
Timestamp:
Jul 29, 2019, 5:43:56 PM (5 years ago)
Author:
Murray Heymann <heymann.murray@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
c1b9ababa50e8059dd847da0957f50aea901e6a8
Parents:
9f0f63787f503527775273cff2d354bd558c9cda
Message:
Fix some errors, alphabetise keyword list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • machine_learning/model/predictor.py

    r9f0f63 r05dbb13  
    117117    print(prediction)
    118118
     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
    119127if __name__ == '__main__':
    120128    cProfile.run("main()")
Note: See TracChangeset for help on using the changeset viewer.