NSCC-COGS / Aestheta

An Industrial Think Tank Focused on Developing and Promoting AI Technology for Geospatial Applications [Please note this group was formed as an academic exercise for educational purposes and does not represent a real world organization]
MIT License
7 stars 3 forks source link

The classifier we train should be saved to the git #15

Closed kkmcgg closed 3 years ago

kkmcgg commented 3 years ago

https://github.com/NSCC-COGS/Aestheta/blob/0fe6e4f6cedaab8b7edb9382ec275fe30f3f056d/Library/core.py#L63

kkmcgg commented 3 years ago

Otherwise, we're going to have to train a new model every time we call the library!

kkmcgg commented 3 years ago

An good example of this can be seen here using the python pickle library https://machinelearningmastery.com/save-load-machine-learning-models-python-scikit-learn/

kkmcgg commented 3 years ago

saveModel() and loadModel() have been added to core.py