bestkao / customer_segments Goto Github PK
View Code? Open in Web Editor NEWClustering and identifying customer market segments hidden in wholesale product spending data using PCA and gaussian mixture models
Clustering and identifying customer market segments hidden in wholesale product spending data using PCA and gaussian mixture models
First of all, thank you for making this awesome notebook public, I work on a similar dataset and I am so grateful to be able to look into your work!
Concerning my issue: I think I found an inconsistency in your discription of the principal components' feature weights. In the answer for question five you describe for example the weights on the first PC:
In Dimension 1 a significant positive weight is placed on Detergents_Paper with meaningful positive weight on Milk and Grocery. This dimension is best categorized by customer spending on retail goods.
The table row for dimension one looks as follows:
Explained Variance | Fresh | Milk | Grocery | Frozen | Detergents_Paper | Delicatessen
0.4430 | 0.1675 | -0.4014 | -0.4381 | 0.1782 | -0.7514 | -0.1499
You seem to attribute a positive weight to a dimension's feature if the feature weight is negative and a negative weight if the feature weight is positive. Is this correct? It seems very counter intuitive and contradicts the hint you give:
A positive increase in a specific dimension corresponds with an increase of the positive-weighted features and a decrease of the negative-weighted features. The rate of increase or decrease is based on the indivdual feature weights.
Again many thanks for your great work.
Sincerely,
Mattzee
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.