Git Product home page Git Product logo

harbim001 / sales_forcasting_with_ml Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.23 MB

Machine learning project for sales forecasting using historical data. Built with Python, featuring EDA, Random Forest modeling, and performance evaluation.

Home Page: https://medium.com/@abimbolaibis/sales-forecasting-with-machine-learning-a-practical-guide-8f7aa76539a0

Python 2.04% Jupyter Notebook 97.96%
data-science forcast machine-learning-algorithms matplotlib pandas python scikit seaborn

sales_forcasting_with_ml's Introduction

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.

sales_forcasting_with_ml's People

Contributors

harbim001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.