Giter Site home page Giter Site logo

inventory-prediction's Introduction

Inventory Prediciton

Synopsis

This project explores the well know problem of time series. I tested out different models from sarima models to LSTM neural networks for inventory prediction.

The code includes some exploration analysis, trend analysis and finally some models in ipython notebooks. These models were then rewriten into python script and built in the web app.

The purpose of the web app is to provide some insight on the data, give recommendations by introducing product names and getting recommended products based on the ones commonly bought together.

Finally it also provides predicition for items in the inventory giving you a glimpse about what the rate of consumption will be in the following weeks.

Libraries used

  • PureCSS
  • Flask
  • statsmodels
  • seaborn

Motivation

My primary motivation was to work on a real dataset solving a real problem from a company. Being able to provide forecasts on invetory could lead to a better stock management since both being over and under stock means losing money. Recommendations is also a big feature because it provides both customers and salespeople a better experience during a sale.

File Structure

  • notebooks/ includes the ipython notebooks that I used for exploration and testing
  • website/ contains all the logic for the website

The Data

The data was provided by Calvek and it is 5 years of sales data, unfortunately this data cannot be published for privacy reasons but I will make sure to upload some pictures of the working web app.

Future Work

There is still a lot of room for improvement. For example making more transformations to the data. During the data exploration I found that the transformation that had the best results was the log function, but there are many ways to stationarize and it could be worthwhile to explore more. The recommendation engine can be expanded into a product to product recommendation using nlp over the product features and descriptions to find similar products, this is useful when you run out of stock or if a company wants to find a similar product but from another brand.

Screenshots

alt tag

inventory-prediction's People

Contributors

grimi94 avatar

Watchers

James Cloos 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.