GCP ML Node

The GCP (Google Cloud Platform) ML Node allows a workflow to send data to Google ML and store the resulting predictions on the workflow payload.

GCP ML Node

Prerequisites

If you’re new to Google ML, TensorFlow, or machine learning in general, you may want to take some time to look through the following resources:

Configuration

Configuration for the node is broken up into four sections.

Authentication

First, we must enter our Google credentials.

The next configuration field will depend on the Token Data Method selected.

  • If you selected Service Credential as your Token Data Method, Credential Name Template can either be a string template that references your Service Credential name or you can select a Service Credential you have created for your application.
  • If you selected Direct input (JSON Template) as your Token Data Method, Account Key (JSON Template) can either be a string template that references your Google service account key or you may enter it in directly.
  • If you selected Direct input (Payload Path) as your Token Data Method, Account Key Payload Path is a payload path that references your Google service account key.

The third configuration field appears for all Token Data Methods.

  • Project ID Template: Can either be a string template that references your project ID, or it can be left blank to use the default project ID associated with your credential. In Edge workflows, this option can only be defined for Gateway Edge Agent version v1.42.0 or above.

Cloud ML Model Configuration

Specify the name of the model for which you want to get predictions. You may optionally specify the model version as well; if no version is provided the model’s default version will be used. Before you can get predictions from a model, you’ll first need to train it with sample data and then deploy it.

Input

The instances path is a payload path that points to the data you want to get predictions for.

Output

The output path is a payload path at which to place the prediction results.

Was this page helpful?


Still looking for help? You can also search the WEGnology Forums or submit your question there.