Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
301 views

Applying k-means over PCA

I have a dataset containing 20 columns and 200 rows. This is an unlabeled dataset and I applied PCA to this dataset for dimensionality reduction. After successfully using PCA, I received a dataset ...
Krishna's user avatar
  • 19
2 votes
0 answers
334 views

interpretation of elbow plots [duplicate]

Hi I have this elbow plot that was created to select the K for clustering but I can't find a sound explanation of how to interpret this, all I ever see is a picture of an elbow with in plots with ...
Bani Antonio's user avatar
1 vote
0 answers
327 views

Strange data point clustering in k-means

I am trying to explore weather impact on bike usage using k-means clustering. However, the plot does not look correct; visually, some data points obviously belong to another cluster that is closer ...
Jessica Quach's user avatar
1 vote
1 answer
414 views

What is the best k in kmeans clustering [duplicate]

I did clustering on a dataset of real-world patients and since the best way to choose the amount of clusters in KMeans clustering is Elbow method and the Silhouette method, I conducted those two and ...
HelloWorld's user avatar
1 vote
0 answers
38 views

Kaplan-Meier plots in R [closed]

I have generated the following clusters. Now I want to compare 3 groups in terms of survival. I am wondering how to create 3 groups based on "scores" and draw KM plot. Codes: ...
Oyun's user avatar
  • 11
1 vote
2 answers
671 views

How to plot High Dimensional supervised K-means on a 2D plot chart

I'm Having a ML problem where my data set contains 80 features labelled into 3 groups (0, 1, -1). I want to plot the data on a 2D surface to see how "close" (similar) data with ...
Eran Moshe's user avatar
0 votes
2 answers
678 views

How to compare the distributions of variables within clusters?

I used K-means to cluster 15k data points composed of 5 quantitative features scaled between 0 and 1. I would like to compare the distributions of the features within each cluster, and also compare ...
Karl Alexius's user avatar
0 votes
0 answers
445 views

Interpreting or utilizing k-means clusters from multidimensional data

K-means clusters can be calculated for multidimensional data--with 5 or 8 variables for instance--by minimizing the "within clusters sum of squares" (WCSS) just as you would for 2 or 3 dimension data. ...
Joe's user avatar
  • 158
0 votes
1 answer
2k views

Detecting Patterns in Multiple Variables of Data Set via Kmeans Cluster

I am currently working on a data set with 14 predictors, 4 of which are categorical (city, state, year, population) or at least not used in the numerical process, while the other 10 are doubles that ...
bmc's user avatar
  • 121
2 votes
1 answer
350 views

Normalization/Standarization for Clustering visualization

I'm performing visualization of a dataset clustered with k-means. I compute a weight for each cluster and I draw a circle as big as its weight. But it seems like after the clustering some values are ...
bones.felipe's user avatar
2 votes
1 answer
2k views

Interpret the visualization of k-mean clusters

Following my posted data here, I conducted a k-mean clustering analysis. I refereed to this post: How to produce a pretty plot of the results of k-means cluster analysis? for the clusters ...
enaJ's user avatar
  • 605
11 votes
2 answers
7k views

Difference between PCA and spectral clustering for a small sample set of Boolean features

I have a dataset of 50 samples. Each sample is composed of 11 (possibly correlated) Boolean features. I would like to some how visualize these samples on a 2D plot and examine if there are clusters/...
user2602740's user avatar
4 votes
7 answers
11k views

Comparing k-means results to original data: how to interpret the resulting plots?

I'm running k-means on my dataset that can be found here that has 7 classes. I plotted the ggpairs for the dataset and then took k-means and plotted ggpairs again ...
birdy's user avatar
  • 481
9 votes
1 answer
13k views

Understanding cluster plot and component variability

I have run k-means clustering. I have also plotted the results using the following code in R: ...
shakthydoss's user avatar
5 votes
1 answer
23k views

Plotting k-means clustering with mixed numerical/categorical data

I have a dataset in CSV format that looks as follows: ...
Amit Kumar Gupta's user avatar
2 votes
1 answer
2k views

Interpretation of NbClust result

The plots show the output of NbClust(). By looking at the plot, is that correct to say that k=5 is the optimal number of ...
user45387's user avatar
5 votes
3 answers
27k views

K-Means Clustering - Calculating Euclidean distances in a multiple variable dataset

I have just completed a simple exercise with 2 variables (X and Y) to understand how K-Means clustering works. The results look like this, My questions is, if I have another column Z, how should the ...
rilakkuma's user avatar
26 votes
3 answers
39k views

Visually plotting multi dimensional cluster data

I have a data set with 16 variables, and after clustering by kmeans, I wish to plot the two groups. What plots do you suggest to visually represent the two clusters?
DJ_'s user avatar
  • 873
0 votes
3 answers
4k views

R getting 2D coordinates from kmeans

I performed and plotted a kmeans analysis in R with the following commands: ...
CodeKingPlusPlus's user avatar
4 votes
3 answers
7k views

Reading Kmeans data and chart from R

I performed and plotted a kmeans analysis in R with the following commands: ...
CodeKingPlusPlus's user avatar
89 votes
4 answers
198k views

How to produce a pretty plot of the results of k-means cluster analysis?

I'm using R to do K-means clustering. I'm using 14 variables to run K-means What is a pretty way to plot the results of K-means? Are there any existing implementations? Does having 14 variables ...
JEquihua's user avatar
  • 3,875