Skip to content

maithili74/Intellingent_Inventory_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demand Forecasting & Inventory Optimization System

Project Overview

This project implements an end-to-end demand forecasting and inventory optimization system for product-level stock planning. It combines machine learning-based demand forecasting with classical inventory management models to generate actionable reorder decisions, and presents the results through an interactive Streamlit dashboard.

The goal is to move beyond forecasting alone and create a decision-support system that helps determine when to reorder and how much to reorder for each product.

Key Features

  • Product-level demand forecasting using XGBoost
  • Time-series feature engineering (lags, rolling statistics, calendar effects)
  • Inventory optimization using:
    • Average Daily Demand
    • Safety Stock
    • Reorder Point
    • Economic Order Quantity (EOQ)
    • Max Stock Level
    • ABC Classification
  • Automated reorder decision engine
  • Interactive Streamlit dashboard for inventory monitoring and decision support

Data

Dataset used: https://www.kaggle.com/datasets/anirudhchauhan/retail-store-inventory-forecasting-dataset

Methodology

  • Demand Forecasting: Built an XGBoost regression model for daily product-level demand forecasting, achieving ~32% MAPE on the test set.
  • Inventory Optimization: Used forecasted demand to calculate key metrics like Safety Stock, Reorder Point, and Economic Order Quantity (EOQ).
  • Inventory Decision Engine: Developed a rule-based engine that triggers reorder decisions when inventory falls below the reorder point and recommends optimal order quantities.
  • Streamlit Dashboard: Created an interactive dashboard for monitoring inventory status and reorder recommendations.

Tech Stack

  • Programming Language: Python
  • Libraries: Pandas, NumPy, Scikit-learn, XGBoost, Matplotlib, Plotly
  • Dashboard: Streamlit
  • Environment: Jupyter Notebook, Anaconda

Project Structure

Personal_Project/
│
├── Codes/                          # Main code directory
│   ├── datapreprocess_model.ipynb   # Data preprocessing and demand forecasting model development
│   ├── inventory.ipynb             # Inventory optimization calculations (safety stock, reorder point, EOQ, etc.)
│   ├── decision_rule.ipynb         # Decision rule implementation for reorder logic
│   └── frontend.py                 # Streamlit frontend for visualizing inventory status and reorder recommendations
│
├── Datasets/                       
│   ├── forecast_output_test.csv    
│   ├── inventory_decision_output.csv 
│   └── inventory_optimization_output.csv 
│
└── README.md    

How to run

Install Dependencies:

pip install pandas numpy scikit-learn xgboost streamlit matplotlib plotly

Run the Streamlit App

python -m streamlit run frontend.py

Then open: http://localhost:8501

Results

  • Achieved ~32% MAPE on demand forecasting
  • Successfully translated forecasts into real-time inventory decisions
  • Built a complete pipeline from data -> model -> optimization -> dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors