arnaucode 8068099897 | 7 years ago | |
---|---|---|
.. | ||
.gitignore | 7 years ago | |
README.md | 7 years ago | |
dataset.npy | 7 years ago | |
nn.pkl | 7 years ago | |
predict.py | 7 years ago | |
train.py | 7 years ago |
Need the file dataset.data
http://flask.pocoo.org/docs/0.12/quickstart/#a-minimal-application (sudo) pip install Flask
pip install flask_restful pip install flask-jsonpify
https://scikit-neuralnetwork.readthedocs.io/en/latest/guide_installation.html pip install scikit-neuralnetwork
also need to upgrade the Lasagne library: (sudo) pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
python train.py
will generate nn.pkl
copy nn.pkl to the serverPredictor directory