Based on https://www.kaggle.com/drscarlat/imdb-sentiment-analysis-keras-and-tensorflow and the book Deep Learning with Python by Francois Chollet
Train the model using
python train.py
Run the Flask Server using
python server.py
Deploy model using kubectl
kubectl apply -f deployment.yml
Test prediction by using REST API
curl -X POST http://172.17.0.35:31217/predict -H 'Content-Type: application/json' -d '{"input": "I loved this video Like, love, amazing!!"}'
MIT
Free Software, Hell Yeah!