Coder Social home page Coder Social logo

adelelwan24 / credit-card-customer-segmentation Goto Github PK

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

This repository implements customer segmentation techniques to analyze credit card user behavior and identify distinct customer groups. By leveraging Python libraries like pandas, Scipy and scikit-learn.

Jupyter Notebook 100.00%
agglomerative-clustering dbscan gaussian-mixture-clustering hirarchical-clustering kernel-pca kmeans pca python tsne

credit-card-customer-segmentation's Introduction

$$Credit \space Card \space Customer \space Segmentation$$

This project explores unsupervised machine learning techniques to segment credit card customers based on their spending habits.

Project Goals:

  • Identify distinct customer groups with similar spending patterns.
  • Develop a comprehensive notebook for educational purposes.

Content:

  • Data Exploration & Cleaning: Analyze and prepare the credit card transaction data for modeling.
  • Clustering Algorithms:
    • Implement K-Means clustering to identify natural customer segments.
    • Explore techniques to determine the optimal number of clusters (Elbow Method, Silhouette Score, Gap Statistic).
    • Apply Hierarchical clustering for a top-down approach to uncover group structure.
    • Utilize DBSCAN to identify clusters of arbitrary shapes, handling potential outliers.
    • Leverage Gaussian Mixture Models (EM) to model customer behavior using probability distributions.
  • Dimensionality Reduction:
    • Employ T-SNE for visualization of high-dimensional data for clearer insights.
    • Implement PCA to capture the most significant variations within the data.
    • Utilize Kernel PCA to uncover non-linear relationships for more effective clustering.
  • Cluster Evaluation: Assess the quality of the formed clusters using various methods.

Learning Outcomes:

This project provides a hands-on exploration of unsupervised machine learning techniques for customer segmentation. The accompanying notebook serves as a detailed guide, explaining each step from data wrangling to algorithm selection and result interpretation.

Additional Information:

  • Feel free to reach out with any questions about the project or the notebook.

Note

The description after every cluster may differ from one run to another, duo to randomness of the algorithms. I set the seed but it was late.

Software Used:

  • Python
  • Numpy & Pandas
  • Seaborn & Matplolib & Plotly
  • Scikit-Learn
  • Scikit-learn-intelex
  • Scipy

Data Source:

$$ Good \space Luck โœจ$$

credit-card-customer-segmentation's People

Contributors

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