GithubHelp home page GithubHelp logo

samuel-the-crack / bank-customer-segmentation Goto Github PK

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

Performing a clustering model for Bank Customer Dataset using K-Means clustering

License: MIT License

Jupyter Notebook 100.00%
machine-learning-algorithms clustering clustering-analysis distortion k-means-clustering k-means-implementation-in-python matplotlib numpy pandas-dataframe seaborn

bank-customer-segmentation's Introduction

Bank-Customer-Segmentation

Performing a clustering model for Bank Customer Dataset using K-Means clustering

A. Background

To increase the flow of money in this bank, the digital marketer team want to know what customer segment that have the highest balance percentage. This process is important to know what kind of services that suits best for this kind of customer. In this model I'm using K-Means Clustering as the main algorithm.

Requirements : numpy, pandas, matplotlib, seaborn, sklearn, yellowbrick

B. Overview

In this model I'm using three-level clustering. First clustering was separate the balane's outliers and non outliers, this analysis was helped with boxplot diagram.

from the boxplot above I separate the data into to cluster, avg_balance and high_balance.

The second clustering was the use of K-Means clustering algorithm based on "balance", "age", "duration" for each cluster in first clustering, and this is the result of the second clustering.

After knowing the main cluster, the last clustering level was clustering it again based on it's 'job', 'marital', and 'education'. The result of the segment that has the highest balance can bee seen in the table below (high balanced data).

And for the average balance data can be seen also at the table below.

from two table above we can conclude that both of them were in their early thirty, single, have tertiary level education, and work in management field. with that information digital marketing team can calculate the best service for them.

For complete code you can se it here

bank-customer-segmentation's People

Watchers

 avatar

bank-customer-segmentation's Issues

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.