l*****k 发帖数: 587 | 1 if I try to do kmeans cluster on a data matrix of dim 89, 46
kmean2 <- kmeans(x, 2, 50)
then try to plot the result
plot(x, col=kmean2$c | w*****n 发帖数: 375 | 2 We can only generate 2D or 3D plots, not 46D.
You can consider principle component analysis
【在 l*****k 的大作中提到】 : if I try to do kmeans cluster on a data matrix of dim 89, 46 : : : : kmean2 <- kmeans(x, 2, 50) : : : : then try to plot the result :
| l*****k 发帖数: 587 | 3 thanks, did try pca, I just realized for doing the plot
it is only good for 2 or 3 variable matrix.
【在 w*****n 的大作中提到】 : We can only generate 2D or 3D plots, not 46D. : You can consider principle component analysis : : : : : :
|
|