Skip to content

Forecasts product demand in a retail store by training a time‑series model on historical sales data, accounting for seasonality and trends.

Notifications You must be signed in to change notification settings

Nitin-Nandan/CodeClauseInternship_DemandForecasting_RetailStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Demand Forecasting for a Retail Store

Overview

This project demonstrates demand forecasting for retail products using the "Historical Product Demand" dataset. The workflow covers data cleaning, aggregation, visualization, ARIMA modeling, and forecast evaluation.

Dataset

How to Run

  1. Clone or download this repository.
  2. Open demand_forecasting.ipynb in Jupyter Notebook or VS Code.
  3. Run all cells in order.
    Required libraries: pandas, numpy, matplotlib, statsmodels.

To install dependencies: pip install pandas numpy matplotlib statsmodels

Project Steps

  1. Data Loading: Read and preview the dataset.
  2. Data Cleaning: Handle missing values and convert data types.
  3. Aggregation: Aggregate demand by date and resample to weekly totals.
  4. Visualization: Plot trends in daily and weekly demand.
  5. Forecasting: Fit an ARIMA model to the training data.
  6. Evaluation: Forecast and compare to actual demand for the test period.

Results

  • The ARIMA model provides a baseline forecast for weekly demand.
  • The model captures overall trends but may miss sudden spikes or drops.
  • Further improvements could include using advanced models or more granular features.

Author

  • Nitin Nandan
  • Internship Project for CodeClause

About

Forecasts product demand in a retail store by training a time‑series model on historical sales data, accounting for seasonality and trends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published