Skip to content

YosefShabaan/polymind

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PolyMind

PolyMind is a machine learning-powered web application designed to help businesses forecast sales, predict demand, and implement intelligent dynamic pricing strategies. Built with Django and Streamlit, the project integrates advanced predictive models and dynamic dashboards to deliver actionable retail insights.

๐Ÿš€ Features

  • ๐Ÿ”ฎ Sales Forecasting โ€“ Predict future sales based on historical trends, calendar events, and business activity
  • ๐Ÿ“ฆ Demand Prediction โ€“ Estimate demand with features like promotions, seasonality, holidays, and store-specific data
  • ๐Ÿ’ฐ Dynamic Pricing โ€“ Recommend optimized prices that maximize revenue while respecting demand elasticity
  • ๐ŸŒ Interactive Website โ€“ Django-powered interface for inputting parameters and retrieving predictions
  • ๐Ÿ“Š Streamlit Dashboards โ€“ Visualize trends, forecasts, and pricing recommendations

๐Ÿ› ๏ธ Technologies Used

  • Backend: Django (Python Web Framework)
  • Frontend: HTML, CSS, JavaScript, Bootstrap
  • ML Libraries: XGBoost, Scikit-learn, Pandas, NumPy
  • Dashboards: Streamlit
  • Model Integration: pickle for model serialization
  • Database: MySQL
  • Visualization: Matplotlib, Seaborn

๐Ÿ“ Project Structure

DEPI_Project/
โ”œโ”€โ”€ deployment/                  # Django project implementation
โ”‚   โ”œโ”€โ”€ project/                # Django project files
โ”‚   โ””โ”€โ”€ manage.py               # Django management script
โ”‚
โ”œโ”€โ”€ notebooks/                  # Jupyter notebooks for development
โ”‚   โ”œโ”€โ”€ Dynamic_Pricing.ipynb
โ”‚   โ”œโ”€โ”€ Milestone_1_Data_Collection_Exploration_Preprocessing.ipynb
โ”‚   โ”œโ”€โ”€ Milestone_2_Advanced_Data_Analysis_Feature_Engineering.ipynb
โ”‚   โ”œโ”€โ”€ Milestone_3_Machine_Learning_Model_Development.ipynb
โ”‚   โ””โ”€โ”€ D_Dashboard.py          # Dashboard implementation
โ”‚
โ”œโ”€โ”€ documentation/              # Project documentation
โ”‚   โ”œโ”€โ”€ DEPI_Project_Presentation.pptx
โ”‚   โ”œโ”€โ”€ Final_DEPI_Report.docx
โ”‚   โ”œโ”€โ”€ Milestone_1.docx
โ”‚   โ”œโ”€โ”€ Milestone_2.docx
โ”‚   โ”œโ”€โ”€ Milestone_3.docx
โ”‚   โ””โ”€โ”€ Milestone_4.docx
โ”‚
โ””โ”€โ”€ README.md                   # Project documentation

โš™๏ธ Installation & Setup

  1. Prerequisites

    • MySQL Server installed and running
    • Python 3.8+
  2. Clone the Repository

    git clone https://github.com/MohamedAbdelhamid-22/DEPI_Project.git
    cd DEPI_Project
  3. Set Up Virtual Environment

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  4. Install Dependencies

    pip install -r requirements.txt
    pip install mysqlclient  # MySQL database adapter for Python
  5. Database Configuration

    • Create a MySQL database
    • Update database settings in deployment/project/settings.py:
      DATABASES = {
          'default': {
              'ENGINE': 'django.db.backends.mysql',
              'NAME': 'your_db_name',
              'USER': 'your_db_user',
              'PASSWORD': 'your_db_password',
              'HOST': 'localhost',
              'PORT': '3306',
          }
      }
  6. Run the Application

    • For Django backend:
      cd deployment
      python manage.py migrate
      python manage.py runserver

๐Ÿ‘ฅ Team Members

Connect with us on LinkedIn:

๐Ÿค Contributing

We welcome contributions! Please fork the repository and submit pull requests for any improvements or bug fixes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages