Giter VIP home page Giter VIP logo

customer-analytics-'s Introduction

Customer-Analytics-Python-

The STP framework of marketing is the backbone of this machine learning project. Segmentation is done using unsupervised learning algorithms and supervised learning determines the most fruitful segments for targeting and positioning of products in the future.

For segmentation, hierarchical clustering is perfromed which return a linkage matrix, which then is plotted using dendrogram.

index

Perform K-means clustering. I have considered 1 to 10 clusters, so the for loop runs 10 iterations. In addition the algortihm runs at many different starting points(using init=kmeans++).

kmeans

Note I figure out optimized number of clusters.

WCSS

Now I create a new data frame with the original features and add the PCA scores and assigned clusters. PCA is used to reduce the dimension and get rid of unnecessary varaibles.

pca_components

Lets now analyze segment proportions.

segprop

customer-analytics-'s People

Contributors

saad-hussain31 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.