Code Monkey home page Code Monkey logo

customer-segmentation-rfm's Introduction

Customer Segmentation based on RFM model 😃😆😡


About Project📖

This is a data analytics project where the task is to determine customer segmentation. I've collected the data from first technical assessment from TidyQuant company. I gave my best and applied many logics and approaches for that task. Unfortunately I failed in second technical assessment :( So decided to scale up my analytical skills and here is my project for analytics.


Approach🛣️:

  1. As I told you I've collected a data via assessment.
  2. Data was very raw it contained just numbers and it didn't contain any label (Unsupervised data)
  3. Found attributes of the data such as null values, mean of total order, revenue, etc. using Pandas.
  4. Analyzed the patterns/trends present in the dataset through univariate and bivariate analysis.
  5. Found types of customers using Recency, Frequence and Monetary(RFM) model. Here I've search lots of about this RFM techniques from investopedia.com and got reference from GeeksForGeeks.
  6. Used matplotib and seaborn to find insights of revenue, orders, momthly revenue/orders insights in the part of Exploratory Data Analysis.
  7. Performed data storytelling methodolgy after very insight (you can find this in .ipynb file uploaded above).
  8. Cleaned the data and applied feature selection(heatmap) technique for better prediction.
  9. To built machine learning pipline for predicting the types of customers based on features I've scaled the data and trained on multi-label classfication data (which mainly based on RFM model [Champions, Potential Customers, Need Attention] ).
  10. Handled imbalacing of the data using Over-Sampling(SMOTE) technique.
  11. For better performance I've trained the data on cross-validation and hyperparameter tuning techniques.
  12. As is a multi-class based problem I've used KNN(93%) and Naive Bayes(87%). Evaluated the using confusion matrixx and classification report.
  13. Build an insightful Tableau Dashboard based on cleaed and well structured data.

customer-segmentation-rfm's People

Contributors

karan842 avatar

Stargazers

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