Displaying 20 results from an estimated 3000 matches similar to: "K-Means clustering Algorithm"
2010 Aug 18
1
Plotting K-means clustering results on an MDS
Hello All,
I'm having some trouble figuring out what the clearest way to plot my
k-means clustering result on an my existing MDS.
First I performed MDS on my distance matrix (note: I performed k-means on
the MDS coordinates because applying a euclidean distance measure to my raw
data would have been inappropriate)
canto.MDS<-cmdscale(canto)
I then figured out what would be my optimum
2013 Oct 08
1
R function for Bisecting K-means algorithm
Hi All,
Can someone please tell me* R function for Bisecting K-means algorithm*. I
have used *kmeans() *function but not getting good results.
Please help.
--
Thanks and Regards,
Vivek Kumar Singh
Research Assistant,
School of Computing,
National University of Singapore
Mobile:(0065) 82721535
[[alternative HTML version deleted]]
2008 May 09
2
K-Means Clustering
Hello,
I am hoping you can help me with a question concerning kmeans clustering
in R. I am working with the following data-set (abbreviated):
BMW Ford Infiniti Jeep Lexus Chrysler Mercedes Saab Porsche
Volvo
[1,] 6 8 2 8 4 5 4 4 7 7
[2,] 8 7 4 6 4 1 6 7 8 5
[3,] 8 2 4
2005 Apr 22
1
algorithm used in k-mean clustering
Hi,
I have used the kmean fucntion in R to produce some results for my analysis.
I like to know the specific underlying algorithm used for the implementation
of the function kmean in R. I tried looking for some documents but could not
find any.
I obtained the kmean result for k ranging from 2 to 10. When i did this
initally it worked perfectly. When i tried running again i get the error
2011 Apr 07
1
K means algorithm C code
Dear R user,
How can I get the C or C++ source code of the "R_kmeans_MacQueen" or
"R_kmeans_Lloyd" subroutines implemented in the R "kmeans" function of the R
stats-package {stats}? Would these be available as a C header file (*.h)
somewhere from the R installation???
Any help to get a C or C++ implementation of these clustering algorithms
would be very
2013 Jun 24
1
K-means results understanding!!!
Dear members.
I am having problems to understand the kmeans- results in R. I am applying
kmeans-algorithms to my big data file, and it is producing the results of
the clusters.
Q1) Does anybody knows how to find out in which cluster (I have fixed
numberofclusters = 5 ) which data have been used?
COMMAND
(kmeans.results <- kmeans(mydata,centers =5, iter.max= 1000, nstart =10000))
Q2) When I
2008 May 12
2
k means
Hi the devel list,
I am using K means with a non standard distance. As far as I see, the
function kmeans is able to deal with 4 differents algorithm, but not
with a user define distance.
In addition, kmeans is not able to deal with missing value whereas
there is several solution that k-means can use to deal with them ; one
is using a distance that takes the missing value in account, like a
2003 Feb 13
1
k- means cluster analysis
Hi all,
I am trying to run the k-means cluster analysis using the function kmeans
in the package cluster.
The data are:
x = c(-0.26, -0.23, -0.05, -0.20, 0.30, -0.84, -0.10, -0.12, 0.10, -0.31,
-0.19, 0.18, -0.26,
-0.23, -0.37, -0.23)
I've got two different solutions when I ran this function over a few times:
kmeans(x, centers=2)
The first solution gives the following:
$cluster
[1]
2016 Jul 26
3
K MEANS clustering
Hello,
I've been working on the KMeans clustering algorithm recently and since the
past week, I have been stuck on a problem which I'm not able to find a
solution to.
Since we are representing documents as Tf-idf vectors, they are really
sparse vectors (a usual corpus can have around 5000 terms). So it gets
really difficult to represent these sparse vectors in a way that would be
2004 Apr 27
1
beginners k means clustering question
Hi all,
I am wandering.. is it possible to cluster data which is in a single
column ?
for example.. I have some data as follows:
4013
7362
7585
9304
11879
14785
21795
30500
30669
30924
33988
36975
40422
42911
50501
51593
53729
54338
55497
57337
61993
62601
66229
69815
69933
70760
71340
75921
83972
90134
91061
.
.
.
is it possible to cluster this data since it is in a single column ?
I have
2013 May 21
1
keep the centre fixed in K-means clustering
Dear R users
I have the matrix of the centres of some clusters, e.g. 20 clusters each
with 100 dimentions, so this matrix contains 20 rows * 100 columns numeric
values.
I have collected new data (each with 100 numeric values) and would like to
keep the above 20 centres fixed/'unmoved' whilst just see how my new data
fit in this grouping system, e.g. if the data is close to cluster 1
2008 Feb 05
1
K Means Clustering Weighted by Frequency
*Apologies if this is not the right way to ask a question, I'm a first
timer posting here.
Does anyone have a solution to this? I'm having trouble figuring out
how to use weighting with K Means Clustering.
So say if my dataset is:
Column 1 = x coords
Column 2 = y coords
Column 3 = frequency each coordinate occurs
So I'm basically trying to weight the points more heavily if
2006 Jul 09
2
distance in kmeans algorithm?
Hello.
Is it possible to choose the distance in the kmeans algorithm?
I have m vectors of n components and I want to cluster them using kmeans
algorithm but I want to use the Mahalanobis distance or another distance.
How can I do it in R?
If I use kmeans, I have no option to choose the distance.
Thanks in advance,
Arnau.
2013 Jul 26
1
variación en los resultados de k medias (Alfredo Alvarez)
Buen día, no sé si estoy utilizando bien la lista, es la primera vez. Si lo
hago mal me corrigen por favor.
Sobre tu comentario Pedro, muchas gracias. Lo qeu entiendo con tu
sugerencia de set.seed es qeu de esa forma fijas los resultados, pero no
estoy seguro si otra agrupación funcione mejor. Es decir me interesa un
método de agrupación que genere la "mejor" agrupación y como los
2010 Jan 11
1
K-means recluster data with given cluster centers
K-means recluster data with given cluster centers
Dear R user,
I have several large data sets. Over time additional new data sets will be created.
I want to cluster all the data in a similar/ identical way with the k-means algorithm.
With the first data set I will find my cluster centers and save the cluster centers to a file [1].
This first data set is huge, it is guarantied that cluster
2007 Mar 19
1
k-means clustering
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070319/0bf66722/attachment.pl
2009 Jul 23
0
using k-means clustering in conjunction with heatmap.2 function
Hello,
I am trying to create a heatmap that clusters based on a k-means scheme
rather than a hierarchical clustering scheme.
Suppose I have the following input data, located in sample.table:
x1 x2 x3 x4
x1 17.198 16.306 16.806 16.374
x2 14.554 10.866 15.780 14.596
x3 14.374 14.118 14.569 17.352
x4 17.505 14.596 15.738 14.070
By using the heatmap.2 function as follows, I can create a heatmap
2007 Nov 14
1
Help with K-means Clustering
Hello, I'm new using R.
I'm trying to develop a K-means Clustering with R for some data I have,
however each time I use that instruction with the same data my cluster
means, clustering vector and within cluster sum of square change and I don't
understand why because I use the same parameters and the same data.
Can anybody explain me why does it happen?
Thank you
Act. Calef
2011 May 18
3
Help with 2-D plot of k-mean clustering analysis
Hi, all
I would like to use R to perform k-means clustering on my data which
included 33 samples measured with ~1000 variables. I have already used
kmeans package for this analysis, and showed that there are 4 clusters in my
data. However, it's really difficult to plot this cluster in 2-D format
since the "huge" number of variables. One possible way is to project the
2007 Dec 10
1
Rerolling k-means
Hi all
I am working on k-means algorithm (in R: kmeans( ) ). The R-help advice
us to try several random start in order to avoid local minimum. Does one
know if there is a procedure that automaticly run this rerolling and
select the best partition ? Or any studies that gives clues on the
number of rerolling ?
Thanks for helping.
Christophe