π Building and Optimizing a Personalized Recommendation System for E-Commerce using Machine Learning
Hi! I'm Hari Gharti Magar, an MSc Data Science with Advanced Research student at the University of Hertfordshire, UK. This project was developed as part of my final dissertation, focusing on "Building and Optimizing a Personalized Recommendation System for E-Commerce Using Machine Learning".
This project implements three recommendation system models to suggest products to users:
- Collaborative Filtering using SVD (Singular Value Decomposition)
- Content-Based Filtering using TF-IDF and Nearest Neighbors
- Hybrid Model combining both approaches
Additionally, I built a functional e-commerce website prototype to simulate real-time user interaction and generate purchase data for model training.
Dataset used:
E-Commerce Purchase History from Electronics Store
π Kaggle Link
- Format: CSV
- Records: 1.3 million+
- License: Free for educational and research use
| Model | Accuracy | Diversity | Engagement |
|---|---|---|---|
| Collaborative Filter | RMSE β 283.5 | β High | β High |
| Content-Based Filter | Match Rate β 55% | β Low | β Low |
| Hybrid Model | Match Rate β 55% | β Low | β Low |
- Languages: Python, PHP, HTML, CSS, JavaScript
- Libraries: Scikit-learn, Surprise, Pandas, NumPy, TF-IDF, Seaborn
- Tools: Jupyter Notebook (Google Colab), MySQL, XAMPP, Visual Studio Code
π README.md β Project overview and documentation π RecommendationSystem.ipynb β Jupyter Notebook for model development π RecommendationSystem.ipynb - Colab.pdf β PDF version of the notebook (for quick view) π Report_Recommendation_System.pdf β Final MSc dissertation report (PDF) π recommendationsystem.py β Python script version of the notebook
As part of this project, I also developed a working e-commerce website prototype that simulates product browsing, purchase activity, and real-time user behavior for data generation and testing.
π View E-Commerce Prototype Repository
Tech Stack:
- Frontend: HTML, CSS, JavaScript
- Backend: PHP & MySQL
- Local Testing: XAMPP
π₯ Download Full Project Report
The report includes research background, methodology, machine learning implementation, evaluation metrics, and screenshots of the working web system.
- MSc Data Science with Advanced Research (2023β2025)
- University of Hertfordshire, UK
- Passionate about recommendation systems, applied machine learning, and solving real-world problems with data.
π§ magarharee54@gmail.com
π LinkedIn
π» GitHub
Thanks for visiting my project!