Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 686 Bytes

File metadata and controls

13 lines (11 loc) · 686 Bytes

Sentiment Analysis (Convonutional Neural Network model) using Tensorflow

Docker Setup

  1. Install Docker
  2. Run git clone https://github.com/goodrahstar/tf-sentiment-docker
  3. Open docker terminal and navigate to /path/to/tf-sentiment-docker
  4. Run docker build . -t sentiment-api
  5. Run docker run -p 8180:8180 sentiment-api
  6. Access http://0.0.0.0:8180/sentiment?message=i love it from your browser [assuming you are on windows and docker-machine has that IP. Otherwise just use localhost]

Native Setup

  1. Anaconda distribution of python 2.7
  2. pip install -r requirements.txt which installs Tensorflow and web.py