Ap Batch Transform

data-scienceinferencearchivedamazon-sagemaker-examplesreinforcement-learningmachine-learningawsexamplesdeep-learningsagemakerjupyter-notebooktrainingmlops

Train Autopilot models using a subset of data, and reuse its recipes on the whole dataset

This notebook's CI test result for us-west-2 is as follows. CI test results in other regions can be found at the end of the notebook.

This us-west-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable


Amazon SageMaker Autopilot is an automated machine learning (commonly referred to as AutoML) solution for tabular datasets. You can use SageMaker Autopilot in different ways: on autopilot (without any human input) or with human guidance, without code through SageMaker Studio or scripted using the AWS SDKs. This notebook will use the AWS SDKs to create an Autopilot job on a subset of data, and apply the recipes on a whole dataset. Compared with running Autopilot job directly on the whole dataset, you save cost and build models more efficiently.

Setup Environment

[ ]
[ ]

Prepare Data

[ ]
[ ]
[ ]

Setup Autopilot Jobs

Kick off an autopilot job using only a subset of the training data.

For baselining purpose, we also kick off an autopilot job using the whole training data. Note that the solution itself only needs the first autopilot job.

[ ]
[ ]
[ ]

Retrieve best models from the Autopilot job

[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]

Transform the whole training dataset with the best transform model

[ ]
[ ]
[ ]
[ ]

Create a new training job

Using the hyperparameters from the best candidate and fit on a larger dataset

[ ]
[ ]
[ ]

Create a model using SageMaker AutoML API & Batch Transform Predict test dataset

We will replace the original tuning model in the autopilot job with the newly fitted model

[ ]
[ ]
[ ]
[ ]
[ ]
[ ]

Last Step! Evaluate the model and compare it with the baseline

[ ]
[ ]
[ ]
[ ]
[ ]
[ ]

The end

Notebook CI Test Results

This notebook was tested in multiple regions. The test results are as follows, except for us-west-2 which is shown at the top of the notebook.

This us-east-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This us-east-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This us-west-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ca-central-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This sa-east-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This eu-west-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This eu-west-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This eu-west-3 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This eu-central-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This eu-north-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ap-southeast-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ap-southeast-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ap-northeast-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ap-northeast-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable

This ap-south-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable