All AutoML Tables code samples

This page contains code samples for AutoML Tables. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Create a dataset

Demonstrates how to create a dataset.

View in documentation

Create a model

Demonstrates using AutoML Tables to create a model.

View in documentation

Delete a dataset

Demonstrates deleting a dataset.

View in documentation

Delete a model

Demonstrates deleting a model.

View in documentation

Deploy a model

Demonstrates deploying a model.

View in documentation

Display a model evaluation

Demonstrates displaying a model evaluation.

Get a model

Demonstrates retrieving models.

View in documentation

Get a model evaluation

Demonstrates retrieving model evaluations.

Get an online prediction

Retrieves an online prediction for a single instance of prediction data.

Get batch predictions using Cloud Storage as a source and BigQuery as a destination

Creates a batch prediction job with a Cloud Storage file as input and BigQuery as a destination.

Get batch predictions with BigQuery input

Creates a batch prediction job with a BigQuery table as input.

View in documentation

Get batch predictions with Cloud Storage input

Creates a batch prediction job with a Cloud Storage file as input.

View in documentation

Get the operation status

Demonstrate retrieving an operation status.

Import data into a dataset

Creates a dataset and then imports data into the dataset.

View in documentation

List datasets

Demonstrate listing datasets.

View in documentation

List model evaluations

Demonstrate listing model evaluations.

View in documentation

List models

Demonstrate listing models.

View in documentation

Undeploy a model

Undeploys a model.

View in documentation