Skip to content

Sprint 2: Initial rule-based recommendation demo (personas + summary)#193

Open
srinikethreddy29 wants to merge 2 commits intoDataBytes-Organisation:mainfrom
srinikethreddy29:feature/sprint2-persona-recommendation
Open

Sprint 2: Initial rule-based recommendation demo (personas + summary)#193
srinikethreddy29 wants to merge 2 commits intoDataBytes-Organisation:mainfrom
srinikethreddy29:feature/sprint2-persona-recommendation

Conversation

@srinikethreddy29
Copy link
Collaborator

I have created a new YAML file reco_personas.yaml with shopper profiles such as student, parent, senior, health-conscious, and budget shoppers. I also updated trend_test_8.py so it can read these personas and generate recommendations using a small synthetic product list. There is also a summary option that shows how many items from each category each persona gets. This work is part of Sprint 2, where we needed to build multiple personas and show how they can drive a recommendation system. It is a simple demo using dummy data, just to prove the logic works. To run it, go into the Data Analysis folder and use the commands:
python trend_test_8.py --reco-demo # shows per-persona recommendations
python trend_test_8.py --reco-demo --reco-summary # adds category counts for each persona

This demo is synthetic only and does not touch real datasets in the Data/ folder. It does not change or break any other analysis scripts or backend/frontend code. If run without the --reco-demo flag, the script continues to work as usual (volatility, PED, etc.) and simply ignores this demo.

To run normal data analysis:
python trend_test_8.py #runs existing analytics (volatility, PED, outliers) and ignores demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant