Skip to content

mrchandrayee/Course11-Capstone

Repository files navigation

Course 11 - Capstone Projects Collection

This repository contains a comprehensive collection of machine learning and data science capstone projects, showcasing various applications including recommendation systems, computer vision, MLOps, and natural language processing.

🎯 Main Project: Sentiment-Based Product Recommendation System

A machine learning-powered web application that provides personalized product recommendations based on user sentiment analysis from product reviews.

🌟 Features

  • Sentiment Analysis: Analyzes user reviews to understand sentiment patterns
  • Collaborative Filtering: User-based recommendation system using similarity metrics
  • Real-time Recommendations: Flask web application providing instant recommendations
  • Pre-trained Models: Optimized ML models with pickle serialization
  • Responsive UI: Bootstrap-powered frontend for seamless user experience

πŸ› οΈ Technology Stack

  • Backend: Python, Flask
  • Machine Learning: Scikit-learn, NLTK, Spacy
  • Data Processing: Pandas, NumPy
  • Frontend: HTML, CSS, Bootstrap
  • Deployment: Heroku
  • Model Storage: Pickle files

πŸš€ Live Demo

The application is deployed on Heroku: Live Demo

πŸ“ Project Structure

Senitment Based Product Recommendation System/
β”œβ”€β”€ sentiment_based_product_recommendation_system-main/
β”‚   β”œβ”€β”€ app.py                              # Flask web application
β”‚   β”œβ”€β”€ model.py                            # ML model and recommendation logic
β”‚   β”œβ”€β”€ requirements.txt                    # Python dependencies
β”‚   β”œβ”€β”€ Procfile                           # Heroku deployment configuration
β”‚   β”œβ”€β”€ sample30.csv                       # Sample dataset
β”‚   β”œβ”€β”€ pickle_file/                       # Trained models
β”‚   β”‚   β”œβ”€β”€ count_vector.pkl               # Count vectorizer
β”‚   β”‚   β”œβ”€β”€ tfidf_transformer.pkl          # TF-IDF transformer
β”‚   β”‚   β”œβ”€β”€ model.pkl                      # Classification model
β”‚   β”‚   β”œβ”€β”€ RandomForest_classifier.pkl    # Random Forest model
β”‚   β”‚   └── user_final_rating.pkl          # User recommendation matrix
β”‚   └── templates/
β”‚       └── index.html                     # Frontend template
β”œβ”€β”€ Recommendation+System+Notebook.ipynb   # Jupyter notebook with analysis
β”œβ”€β”€ Data+Attribute+Description.csv         # Dataset description
└── colab_user_guide-converted.pdf         # User guide

πŸ”§ Installation & Setup

  1. Clone the repository

    git clone https://github.com/mrchandrayee/Course11-Capstone.git
    cd Course11-Capstone
  2. Navigate to the main project

    cd "Senitment Based Product Recommendation System/sentiment_based_product_recommendation_system-main"
  3. Install dependencies

    pip install -r requirements.txt
  4. Download Spacy model

    python -m spacy download en_core_web_sm
  5. Run the application

    python app.py
  6. Access the application Open your browser and navigate to http://localhost:5000

πŸ’‘ How to Use

  1. Enter a valid username from the system
  2. Click "Get Recommendations"
  3. View the top 5 recommended products based on sentiment analysis

Valid Test Users: 00sab00, 1234, zippy, zburt5, joshua, dorothy w, rebecca, walker557, samantha, raeanne, kimmie, cassie, moore222

🧠 Machine Learning Pipeline

  1. Data Preprocessing: Text cleaning, tokenization, and normalization
  2. Feature Extraction: TF-IDF vectorization and count vectorization
  3. Sentiment Analysis: Classification model to predict sentiment polarity
  4. Recommendation Engine: User-based collaborative filtering
  5. Model Deployment: Flask API with pickle model serialization

πŸ“š Other Capstone Projects

This repository also includes several other capstone projects:

🎨 Style Transfer using GAN

  • Deep learning project implementing Generative Adversarial Networks for artistic style transfer

πŸ‘οΈ Eye for Blind

  • Computer vision project for assistive technology

πŸ“° News Recommendation System

  • NLP-based news recommendation engine

πŸ“Š Sales Prediction

  • Predictive analytics for sales forecasting

πŸš— MLOps Projects

  • Car Damage Detection with MLOps pipeline
  • EdTech Lead Scoring Classification with MLOps implementation

Note: Large project files (>50MB) are excluded from this repository due to GitHub size limitations. The main working code and documentation are available in the project folders.

πŸ† Key Achievements

  • βœ… Successfully deployed ML model to production
  • βœ… Implemented end-to-end recommendation pipeline
  • βœ… Created responsive web interface
  • βœ… Achieved real-time performance with optimized models
  • βœ… Implemented comprehensive MLOps practices

πŸ“ˆ Performance Metrics

  • Model Accuracy: Optimized for sentiment classification
  • Response Time: < 2 seconds for recommendations
  • Scalability: Deployed on cloud platform with auto-scaling

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

Chandrayee

πŸ™ Acknowledgments

  • Machine Learning course instructors and mentors
  • Open source community for libraries and frameworks
  • Heroku for deployment platform
  • Bootstrap for responsive UI components

⭐ Star this repository if you found it helpful! ⭐

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages