This project is no longer actively developed or maintained.
For new work on this check out Cloud AutoML
This project is associated with this tutorial:
https://cloud.google.com/appengine/articles/prediction_service_accounts
Each directory represents a phase in the tutorial. phase1 is the basic skeleton, phase2 represents the project after Step 4 of the tutorial (sentiment analysis), phase3 represents the final code product of the tutorial and includes language detection.
-
Install Java and Maven
-
Install Google Cloud SDK
-
Change into the project directory
$ mvn clean install
-
If you don't have a project, go to Google Developers Console and create a new project.
-
Enable the "Prediction" API under "APIs & auth > APIs > Google Cloud APIs"
- DATA_FILE
- MODEL_ID
- PROJECT_ID
$ mvn appengine:devserver
$ mvn appengine:update