FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

java-docs-samples/mlengine/online-prediction at master · zmyer/java-docs-samples · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Cloud Machine Learning Engine - Online Prediction with Java

Setup

This sample demonstrates how to send online prediction requests to your deployed model on CMLE. Follow the tutorial to deploy your model first.

This sample is using the Application Default Credential. You can install the Google Cloud SDK and run:

gcloud auth application-default login

Run

Modify the OnlinePredictionSample.java with your project/model/version information.

Compile the sample code using Maven by running the following command:

mvn compile

Execute the sample code using Maven by running the following command:

mvn -q exec:java

Back | FazBrowse Home | New Git URL