All Questions
14 questions
0
votes
0
answers
19
views
Clustering Mixed Data Types: Algorithm Selection, Distance Measurement, and Feature Weighting
I have a database of 74,000 records with 29 features. Fourteen of these features are categorical and are either 0 or 1, while the other 15 features are continuous and have been normalized and scaled ...
1
vote
2
answers
93
views
Can I use K-Means to group customers based on a single variable?
I have a test dataset of 11m records. The dataset contains a global customer id and spend figure.
I need to group customers into the following categories:
0 Low
1 Low/Med
2 Med
3 Med/High
4 High
I ...
0
votes
1
answer
108
views
Time Series clustering: clustering a dictionary of time series
I'm working on classifying times series to find clear pattern of use. My data is collected from clients of a telecom company, and we want to detect pattern of the amount of data consumed by clients ...
1
vote
1
answer
377
views
standardization/normalization for 1D clustering?
I have two input variables revenue and age. Am trying to find different bins within that variables.
For ex: I have ...
0
votes
1
answer
184
views
The resulting image file is even larger than original when using K-means to do image compression
I am trying to compress jpeg file
[Original Picture]
[Compressed Picture with K-means using K=10]
However, the original one is 85K while the compressed one is 101K?
Here is the code I use:
...
1
vote
0
answers
172
views
I don't understand why each time Kmeans finds the same centroid given different initialization?
The k-means algorithm does the following:
Given a set of points, we first choose k random points to be the initial centroids.
We then create k clusters. The ith cluster contains the points nearest to ...
1
vote
2
answers
595
views
K-Means output the similar to each other cluster
I am trying to run K-Means on my data set of house price prediction problem.
After running it, the output of the model seems wrong because the graphs look the same as each other.
This is my code:
<...
0
votes
0
answers
33
views
k means in python with BIC [duplicate]
I am new to ML. I am trying to implement k-means which uses a BIC function that takes cluster and data points as arguments and returns BIC value. I need a function to find best k value that is ...
1
vote
1
answer
359
views
Should I scale when clustering text data using K-means?
I want to cluster a folder of texts. I created a data file where for each text, I write whether a certain word appears in it or not. I want to cluster according to this.
So my matrix is globally only ...
0
votes
2
answers
656
views
K-means which normalization fits
Hi am working on a business dataset, where I want to group the participant in k-means based on some features.
The problem is I have to create this features upfront, so that I combine different ...
0
votes
1
answer
428
views
Formatting input data to Scikit learn for Kmean and PCA
I am very confused about the data that feeds to Kmean and PCA algorithm using Scikit Learn command in Python. I searched a lot in the internet but no where I found the clear answer.
I have $X$, a $m \...
1
vote
0
answers
35
views
Identify Phrases Not in Training Set (Unsupervised)
I'm trying to train an unsupervised machine learning algorithm to learn a vocabulary and if it is given a word, it can predict how close that word is to what it already knows. Only issue is my ...
2
votes
0
answers
420
views
A problem with implementing PCA-guided k-means
I am new to machine learning. I am reading the papers K-means Clustering via Principal Component Analysis and PCA-guided search for K-means. But there are too many mathematical proofs in these papers. ...
1
vote
1
answer
3k
views
K-Means Clustering Not Working As Expcected
I have a script that I'm testing with in Python3 with Scikit to cluster terms based on either words or character n-grams. Basically, it's fed a list of training data with corresponding labels. For ...