Skip to content

Latest commit

 

History

History
 
 

generators

User Data Generator

generate_users_json.py generates a set of users for the Retail Demo Store.

These user profiles are used in the following ways:

  • The Users service provides login services to the user profiles that this creates for the Retail Demo Store
  • Workshops which need to generate simulated user behavior data can use the datagenerator library to create simulated events for these user profiles after they are created. This provides realistic and consistent data across all integrated tools in the Retail Demo Store.

datagenerator Library

The datagenerator library is a Python library that provides the following functions:

For a working example of the event generator features, see 3.5-Amplitude-Performance-Metrics.ipynb

Interaction events

The generate_interactions_personalize.py script is a standalone script that reads in the users data and products data direct from file and generates sample interactions.