GithubHelp home page GithubHelp logo

karol-pa / automatic_sales_forecast_app Goto Github PK

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

A Streamlit application that provides sales data analysis and utilizes XGBoost to generate 90-day sales forecasts for individual products or product families.

Python 100.00%

automatic_sales_forecast_app's Introduction

Sales Forecast Project for SPICED Academy

This is an application for analyzing and forecasting future product sales based on historical sales numbers within the context of e-commerce. The app uses the XGBoost model.

Once you have installed all required packages

pip install -r requirements.txt

run the following command from the terminal to open the app in your default web browser:

streamlit run Home.py

Or try the cloud version (Please note that the XGBoost model used for forecasting will probably run slower on the (free) cloud server than on your local machine.)

At the moment, two datasets are already preloaded: Product families A and B.

  • Home: Select one of the product families.
  • Time series data: View sales numbers and Warehouse stock over time. Select either all products or individual products. Select Sales/stock by product or by country (via the tab above the chart). You can also apply corrections to the data (look at the tooltips to see how the corrections impact the sales data).
  • Aggregated data: View the seasonalities hidden in the sales data.
  • Map: See the sales number associated with different European countries.
  • Sales forecast: Here you can make 90-day sales forecasts. Select one or more products, corrections and the date from which you want to start the prediction. Everything before that date is used to train the forecasting model. So, if you set the Start date for prediction to August, 1'st, 2023 (or before), you can test the model performance against the actual sales.

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.