Amazon Personalize is a recommendation service provided by amazon which enables you to personalize your website, app, ads, emails, and more, using the same machine learning technology as used by Amazon.com, without requiring any prior machine learning experience. Using Amazon Personalize, you can generate personalized recommendations for your users through a simple API interface.
Table of Content
- What is amazon personalize
- Use cases
- What are the requirements to work on amazon personalize
- How to work on amazon personalize
- Dataset groups
- Schema & Dataset Import job
- Solution & Recipe
- Get Recommendation
- Data Incrementation
What is amazon Personalize?
Amazon Personalize is a fully managed machine learning service that makes it easy for developers to deliver personalized recommendation experiences to their users.
Amazon Personalize is a machine learning service that enables you to personalize your website, app, ads, emails, and more with custom machine learning models which can be created in Amazon Personalize with no prior machine learning experience.
- Amazon Personalize could be used in an e-commerce platform to provide a customized product experience to the users.
It could be used on an entertainment streaming platform like music, video, or OTT platform to offer content based on user behavior.
What are the requirements to work on amazon personalize?
Require 3 types of data of your domain.
- User data
- Item data (product data)
- User-Item interaction data
If you have these three kinds of data, then you can use amazon personalize to get various types of recommendations for any domain.
How to work on amazon personalize?
- Dataset Group: First, you need to create a dataset group within Personalize, it will utilize to import dataset, and those datasets would use by the model for training.
- Schema & Dataset Import job: You have to define the data schema in json format, the schema must match with the data.
After defining schema, the next step would be the data import process to import data from s3 into personalize dataset group.
- Solution & Recipe: A Solution refers to the combination of an Amazon Personalize recipe, customized parameters, and one or more solution versions (trained models).
- To create a solution needs to choose recipe: A recipe is an Amazon Personalize term specifying an appropriate algorithm to train. There are various recipes available for various use cases
- Campaign: A campaign is used to deploy a trained solution version to get a recommendation.
A campaign is a deployed solution version (trained model) with provisioned dedicated transaction capacity for creating real-time recommendations for your application users.
- Get Recommendation: To get a real-time recommendation from the campaign we can use get_recommendation() API and batch inference to get a batch recommendation.
- Data Incrementation: To retrain a model on new data, we need to increment or add those data into our personalize dataset group. To add those data incrementally, we have data incrementation techniques.
- Events: To increments interaction data in real-time, we can create events and use them for inserting new interaction data.
- User & Item Incrementation: To increment user and item data we could use put_users() & put_items() API of personalize.
- Filtering: Filtering is used to filter the recommendation result. Using a filter, you can customize the recommendation result. For example, you might not want to recommend products that a user has already purchased.
To create a filter, you just need to create a filter with the appropriate condition it is similar to an SQL query.
- Amazon Personalize makes it easy for developers to add highly personalized recommendations to customers who use their applications. It uses the same ML technology used by Amazon.com for real-time personalized recommendations, with no ML expertise required
- You can fulfill your customized requirements by using other AWS services with personalize like lambda, API gateway, etc.
Written by – Chetan Malhotra