digitiamosrl/recsys-and-customer-segmentation
30
Recommender system and customer segmentation
Demo with recsys and clustering for the online retail dataset.
Objective
Recommender system:
- interactively select a user
- show all the recommendations for the user
- explain why we get these suggestions (which purchased object influences the most)
- plot the purchases and suggested articles
Clustering:
- compute the user clustering
- plot users and their clusters
- explain the meaning of the clusters (compute the mean metrics or literally explain them)
Setup
In your terminal run:
# Enable the env
source .venv/bin/activate
# Install the dependencies
pip install -r requirements.txt
# Or install the freezed dependencies from the requirements_freezed.txt
# You are ready to rock!Run
In your terminal run:
streamlit run recommender_system.py
# Now the defualt browser will be opened with
# the stramlit page. It you want to customize the
# execution of streaming, refer to its documentation.Resources
- streamlit
- implicit, recsys library
- t-sne guide
- RFM segmentation
