I have successfully deployed on model on Cloud ML Engine and verified it is working with gcloud ml-engine models predict
by following the instructions, now I want to send predictions to it from my C# app. How do I do that?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
The online prediction API is a REST API, so you can use any library for sending HTTPS requests, although you will need to use Google's OAuth library to get your credentials.
The format of the request is JSON, as described in the docs.
To exemplify, consider the Census example. A client for that might look like:
You may have to run
gcloud auth login
to initialize your credentials before running locally, if you haven't already.