Skip to content

A Python demo application that configures and create a ML Recommendation system with AWS Personalize

Notifications You must be signed in to change notification settings

fullstacklabs/aws-personalize-demo

Repository files navigation

AWS Personalize Demo

This demo application is created for the intent to demostrate the AWS Personalize capabilities.

It uses a small version of the Movie Len Dataset that holds recommendation records for Movies.

The complete explanation of AWS Personalize and details about this code could be found on My Blog Post

Requirements

Installation

  • Create a virtual environment for avoid problems with Python version
python3 -m venv /path/to/new/virtual/environment
  • Activate the virtual environment
source /path/to/new/virtual/environment/bin/activate
  • Use the package manager pip to install all the dependencies.
pip install -r requirements.txt
  • Configure the AWS Credentials to access the account
export AWS_ACCESS_KEY_ID=<AWS Access Key>
export AWS_SECRET_ACCESS_KEY=<AWS Secret Key>
export AWS_DEFAULT_REGION=<AWS Default region>

Usage

  • For creation of the AWS Personalize Solution Version to be used during the demo run
python personalize_demo_creator.py
  • For actually using the AWS Personalize Solution Version to find out recomendation for a random user
python3 personalize_demo_executor.py
  • For clean up the resources used during the demo
python3 personalize_demo_cleanup.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

A Python demo application that configures and create a ML Recommendation system with AWS Personalize

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages