Giter Site home page Giter Site logo

customer-clustering's Introduction

Customer Clustering

This Shiny app is designed to simulate how a hypothetical company might analyze its customers based on their similarities.

You can see the live app On my ShinyApp.io account. Refer to the Shiny documentation for help with running the application.

Background

This app is designed to show how clustering techniques can be used by an organization to examine similarity across their customers. The primary motivation is to group customers by behavior to streamline initial pricing processes, but it also includes tools to examine purchasing patterns of customers based on the types of products they buy (Product Class) and the organization's market position in terms of competition.

Context

In this scenario, the organization has several dozen customers, each buying some assortment of their hundreds of products. The products each belong to one of 12 classes Product pricing is primarily driven by customer size in terms of a discount off of the list price and rebates based on their throughput. Since the top 7 customers make up over 75% of the organization's profits, they are interested in grouping their smaller customers to streamline pricing processes.

Also of interest is a tool to allow the organization to compare customers in terms of the Classes and Exclusivity of the products they buy, potentially identifying areas of risk and opportunity for each of the customers.

Components/Tools

All Customers

The All Customers section provides a high-level overview of all of the organizations customers, including:

  • A heatmap of all customers, allowing for a quick identification of customer grouping using Hierarchical Clustering on the main four customer attributes
  • A 3D Scatterplot showing the distribution of the customers according to how they cluster using K-Medians clustering (with the Top 7 grouped separately), along with a summary table of the groups
  • Sections for comparing customers to each other and the organizations overall distribution of Product Classes and Exclusivity. These sections include a visuals of the organizations aggregate distribution, heatmaps of the customers distributions, and a tool for comparing each customer to the aggregate distribution.

Small Customers

Focusing on the smaller customers, this section provides:

  • A similar heatmap to the one in All Customers
  • A 3D Scatterplot of just the smaller customers, including bloxplots detailing the differences in the clusters, group summaries, and details of the top customers and products within each group.

Product Views

A 3D Scatterplot of the organizations portfolio, grouped by Therapy Area. A wide range of variables are available for the axes.

customer-clustering's People

Contributors

raffled avatar

Stargazers

Sarah Moens avatar

Watchers

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