This directory contains samples for the Google Cloud AutoML APIs - docs
We highly reccommend that you refer to the official documentation pages:
- AutoML Natural Language
- AutoML Translation
- AutoML Vision
This API is part of the larger collection of Cloud Machine Learning APIs.
These Java samples demonstrates how to access the Cloud AutoML API using the Google Cloud Client Library for Java.
Install Maven.
Build your project with:
mvn clean package
There are two types of samples: Base and API Specific
The base samples make up a set of samples that have code that is identical or nearly identical for each AutoML Type. Meaning that for "Base" samples you can use them with any AutoML Type. However, for API Specific samples, there will be a unique sample for each AutoML type. See the below list for more info.
- Import Dataset
- List Datasets - For each AutoML Type the
metadatafield inside the dataset is unique, therefore each AutoML Type will have a small section of code to print out themetadatafield. - Get Dataset - For each AutoML Type the
metadatafield inside the dataset is unique, therefore each AutoML Type will have a small section of code to print out themetadatafield. - Export Dataset
- Delete Dataset
- List Models
- List Model Evaluation - For each AutoML Type the
metricsfield inside the model is unique, therefore each AutoML Type will have a small section of code to print out themetricsfield. - Get Model
- Get Model Evaluation - For each AutoML Type the
metricsfield inside the model is unique, therefore each AutoML Type will have a small section of code to print out themetricsfield. - Delete Model
- Deploy Model - Not supported by Translation
- Uneploy Model - Not supported by Translation
- Batch Predict - Supported by: Natural Language Entity Extraction, Vision Classification, and Vision Object Detection.
- Entity Extraction Create Dataset
- Entity Extraction Create Model
- Entity Extraction Predict
- Entity Extraction Batch Predict