This directory contains samples for the Google Cloud AutoML APIs - docs
We highly reccommend that you refer to the official documentation pages:
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:
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 metadata field inside the dataset is unique, therefore each AutoML Type will have a
small section of code to print out the metadata field.
- Get Dataset - For each AutoML Type the metadata field inside the dataset is unique, therefore each AutoML Type will have a
small section of code to print out the metadata field.
- Export Dataset
- Delete Dataset
- List Models
- List Model Evaluation - For each AutoML Type the metrics field inside the model is unique, therefore each AutoML Type will have a small section of code to print out the metrics field.
- Get Model
- Get Model Evaluation - For each AutoML Type the metrics field inside the model is unique, therefore each AutoML Type will have a small section of code to print out the metrics field.
- 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.
AutoML Type Specific Samples
Natural Language Entity Extraction
Natural Language Sentiment Analysis
Natural Language Text Classification