Git Product home page Git Product logo

cghimire / grocery-management-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.46 MB

This project is based on real spending data for three months. Using this data we applied three techniques such as Cluster, Association, and neural network analysis. We are trying to come up with an answers for the following questions. 1) What are the categories and stores that we frequently purchase our daily stuffs from? 2) How is our buying pattern? 3) What are the items that we most likely buy together? 4) How can we optimize our spending on grocery?

grocery-management-system's Introduction

Project logo

Building Grocery Management System using Data Analytics

πŸ“ Table of Contents

🧐 About

This project is based on real spending data for three months. Using this data, we applied three techniques, such as Cluster, Association, and neural network analysis. We were trying to solve the following questions.

  • What are the categories and stores that we frequently purchase our daily stuffs?
  • How is our buying pattern and What are the items that we most likely buy together?
  • How can we optimize our spending on grocery?

🎈 Data Understanding and Exploring

alt text

This is a metadata of the data set.

alt text

The above histogram represents the amount spent on different merchandise category across various stores.

⛏️ Data Preparation

Clustering

I used K-means clustering to classify the data based on category, store name, items, and amount.

πŸš€ Data Modeling

Association Analysis

alt text

Above histogram shows the most frequent items in the data set.

Recommendation Rule

alt text

We created Association Rules: min support as 0.01, confidence as 0.05 and sorted with β€˜high-confidence’ rule. The rules with confidence of 1 imply that, whenever the LHS item was purchased, the RHS item was also purchased 100% of the time.

Neural Network

After splitting data set into training and testing set, run the neural network to see if the model is fit.

alt text

Above matrix shows that out of 59 Needs 55 were predicted correctly, and out of 21 want 20 were predicted correctly.

Model Evaluation and Conclusion

The neural net model is used to predict our spending behviour and optimize our budget by loading data for April month.

alt text

The above output shows that when we purchase Red onions from Columbia Store it is classified as our Needs, meaning the Red onion is something we can’t avoid buying.

Based on our research, Our grocery spending can be optimized. We can also see which items are tied together and check our neural net model to see if that particular item set falls under our needs or wants. We can avoid our wants and only focus on our needs.

πŸŽ‰ Acknowledgements

I would like to thank Sushil Tiwari for the contribution on this project.

grocery-management-system's People

Contributors

cghimire avatar

Watchers

 avatar  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.