Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.1 KB

Sales Forecasting with Machine Learning

Overview

This repository contains a sales forecasting project that aims to predict the number of products sold across multiple stores. The model uses historical sales data to forecast future sales. This project was developed in Python, using machine learning libraries like Pandas, Scikit-learn, Matplotlib, and Seaborn.

Dataset

The dataset used is sourced from Kaggle and spans 10 years (2010-2019), featuring various stores and products.

Features

  • Date: The date of the sales data.
  • Store ID: Identifier for the store.
  • Product ID: Identifier for the product.
  • Number Sold: The number of units sold.

Project Highlights

  • Exploratory Data Analysis (EDA) to understand sales trends and seasonality.
  • Data Preprocessing, including feature engineering to add lagged variables.
  • Modeling using Random Forest Regressor for its robustness in capturing complex patterns.
  • Model Evaluation using Mean Absolute Percentage Error (MAPE), achieving a 1.23% error rate on the test set.
  • Feature Importance Analysis to understand the impactful features in the model.