Amazon Personalize Immersion Day

Amazon Personalize is a machine learning service that allows you to build and scale recommendation/personalization models in a quick and effective manner. The content below is designed to help you build out your first models for your given use cases.

Introduction to Amazon Personalize

If you are not familiar with Amazon Personalize, you can learn more about the service on these pages:

Goals

By the end of this Immersion Day, you should have picked up the following skills:

  1. How to map datasets to Amazon Personalize.
  2. Which models or recipes are appropriate for which use cases.
  3. How to build models in a programmatic fashion.
  4. How to interpret model metrics.
  5. How to deploy models in a programmatic fashion.
  6. How to obtain recommendations from Amazon Personalize.
  7. How to apply business rules to your recommendations.

Process:

There are currenlty three versions of the Amazon Personalize Immersion Day

  1. Amazon Personalize for Media Immersion Day
  2. Amazon Personalize for Retail Immersion Day
  3. Amazon Personalize for News Immersion Day (Not Availible ATM)

All contain the respective notebooks for:

  1. Data - 01_Data_Layer.ipynb
  2. Training - 02_Training_Layer.ipynb
  3. Inference - 03_Inference_Layer.ipynb
  4. Clean Up - 04_Clean_Up.ipynb

Deploying Your Working Environment

  1. Train as you go by executing each cell. Some cells may take a long time to finish executing as they wait for resources to be created. To do this simply run the notebooks all the way through - you will likely need to give the notebooks appropriate permissions to do this. To learn more about properly permissioning your SageMaker notebooks and account in general to use Amazon Personalize see here

  2. Go through notebook with previously created resources. All or the majority of the resources will already be created and cells will just retrieve the information of these existing resources to use them in following steps.

To pre-provision resources and pre-train models, you can deploy the 'pretrained' Amazon CloudFormation template (PersonalizeIDPretrained.yaml) or click on the buttons below after logging into your AWS account.

Important

Make sure to specify the right domain for your immersion day, either 'Media', 'Retail' or 'News' (News Not Availible ATM) so the right resources are provisioned.

Region Region Code Launch stack
US East (N. Virginia) us-east-1 Launch Stack
Europe (Ireland) eu-west-1 Launch Stack
Asia Pacific (Sydney) ap-southeast-2 Launch Stack

Additional Instructions

For additional Instructions please visit our Amazon Personalize Immersion Day Workshop Website

Regions

This workshop has been tested in the Oregon (eu-west-1), North Viginia (us-east-1) and Ireland (ap-southeast-2) regions.

Costs

If you are running this workshop in your AWS account, you are going to create AWS resources that have a cost. Follow the steps in the 'Cleaning Up' section, even if you did not complete it, to avoid incurring unnecessary costs.

Cleaning Up

Finished with the Immersion Day?

  1. If you want to delete the resources created in your AWS account while following along with these notebooks, please see the Clean_Up.ipynb notebook. It will help you identify all of the Personalize resources deployed in your account and shows you how to delete them.

  2. Delete the stack you created with CloudFormation. To do this, in the AWS Console again click the Services link at the top, and this time enter in CloudFormation and click the link for it. Then Click the Delete button on the stack you created.

Once you see Delete Completed you know that all resources created have been deleted.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.