Code Monkey home page Code Monkey logo

supermarket-analysis's Introduction

Supermarket-Analysis

This Web App is a comprehensive data analysis dashboard designed for analyzing Supermarket sales. It offers detailed views for Customer Relationship Management (CRM), Sales Trends Analysis, and Product Analysis. Additionally, a fine-tuned LLM-based AI chat feature is in the works and will be available soon.

View the live application at: Supermarket Analytics Dashboard

This aims to help sales and management answer questions such as who are our quality customers, what are they buying and how can we get them to buy more and build a relationship with our customers?

Read the code walkthrough here on Medium

Tech Stack

This project is developed using:

  • Python Python for scripting and data manipulation.
  • MySQL MySQL and PostgreSQL PostgreSQL for relational database management.
  • Pandas for data manipulation and analysis.
  • Seaborn and Matplotlib for data visualization.
  • Scikit-learn for implementing machine learning models.
  • Joblib for model serialization and deployment.
  • Streamlit for the backend and UI of the application.
  • Supabase for handling database interactions.
  • Streamlit Community Cloud for hosting the application.

Key Features

1. Customer Relationship Management (CRM)

  • Daily Customer Insights: View and analyze daily customer interactions, purchase behavior, and overall engagement.
  • Customer Segmentation: Easily segment customers based on their purchasing patterns and other criteria.

2. Sales Trends Analysis

  • Sales Performance: Track and visualize sales performance over time, identifying peaks, trends, and seasonal behaviors.
  • Revenue Breakdown: Get a clear view of revenue contributions from different product categories.

3. Product Analysis

  • Top Products: Identify and analyze the best-performing products in the supermarket.
  • Product Segmentation: View sales performance and other metrics for specific product segments.

4. Product Recommendation System

  • This app features a content-based filtering product recommendation system, leveraging data-driven insights to suggest products that customers are likely to purchase based on their past behaviors and preferences. The recommendation engine is built using:
    • Pandas for data processing.
    • Scikit-learn for implementing the content-based filtering algorithm.
    • Joblib for model persistence and fast retrieval.
    • View the notebook used to train this model here

5. AI Chat (Coming Soon)

  • A fine-tuned language model (LLM) will be integrated into the app, providing an AI-powered chat feature. This AI assistant will specialize in sales data analysis and provide insightful responses related to customer trends, product performance, and overall supermarket analytics.

Data is based on real supermarket data courtesy of a supermarket in Kenya, personal information has been randomized for preview.

Preview

image

image

image

... View more at Supermarket Analytics Dashboard

Icons and Visuals

Icons used in this project are courtesy of geticon.

supermarket-analysis's People

Contributors

jasiri-w avatar

Stargazers

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