Perform a batch prediction. Unlike the online Predict, batchprediction result won't be immediately available in the response. Instead,a long running operation object is returned.

gcat_batch_predict(modelDisplayName, inputSource, outputTarget)

Arguments

modelDisplayName

the name of the model shown in the interface

inputSource

Google Cloud Storage URIs to input files, up to 2000 characters long. Full object path, e.g. gs://bucket/directory/object.csv

outputTarget

STRING Required. Google Cloud Storage URI to output directory, up to 2000 characters long. Prefix path: gs://bucket/directory The requesting user must have write permission to the bucket. The directory is created if it doesn't exist.

See also