similar to: question regarding using weights in the hierarchical/ kmeans clustering process

Displaying 20 results from an estimated 10000 matches similar to: "question regarding using weights in the hierarchical/ kmeans clustering process"

2006 Apr 07
2
cclust causes R to crash when using manhattan kmeans
Dear R users, When I run the following code, R crashes: require(cclust) x <- matrix(c(0,0,0,1.5,1,-1), ncol=2, byrow=TRUE) cclust(x, centers=x[2:3,], dist="manhattan", method="kmeans") While this works: cclust(x, centers=x[2:3,], dist="euclidean", method="kmeans") I'm posting this here because I am not sure if it is a bug. I've been searching
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
2001 Aug 01
2
clustering question ... hclust & kmeans
I am using R 1.3.0 on Windows 2000. For an experiment, I am wanting to find the most diverse 400 items to study in a possible 3200 items. Diversity here is based on a few hundred attributes. For this, I would like to do a clustering analysis and find 400 clusters (i.e. different from each other in some way hopefully). From each of these 400 clusters, I will pick a representative. I expect
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
2000 Apr 26
1
cluster indices
Hi- I'd like to apply some of the cluter indices, using 'clustindex' in the cclust package, but using output from hierarchical clustering using 'hclust' in the mva package. The two packages use a different format for storing the results of clustering; has anyone coerced one into the other? Thanks! -John Barnett
2002 Feb 20
2
Clustering and Calinski's index
I have to solve a clustering problem. My first step is to determinate the number of clusters, that's why I 'm using the Calinski index ( [tr(b)/(k-1)]/[tr(w)/(k-1)] ) which i try to maximize to have the best number of clusters. A function is already implemented in R to calculate this index : clustIndex(cl,x, index="calinski") where cl is the result of a clustering method ,
2002 Oct 11
1
Problems with cclust
To Whom It May Concern, I am currently trying to use R to perform a "kmeans" clustering of a three dimensional data set. In the directory R-1.5.1/library/cclust/data/ I have created a file that has the following format (only the first few lines are shown for brevity): B X.Vtl X.Vtu 1 -0.529043 1.307031 1.625169 2 -0.752502 1.132813 1.480548 3
2003 Mar 05
2
problem with cclust[er] package
I have checked that section already. Sorry, I should have mentioned that. Memory limit increase does not work. Installtion of msvcrt.dll does not work either. Thank you. -----Original Message----- From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk] Sent: Wednesday, March 05, 2003 2:44 PM To: Igor Oleinik Cc: r-help at stat.math.ethz.ch Subject: Re: [R] problem with cclust[er]
2006 Mar 23
0
kmeans Clustering
Dear WizaRds, My goal is to program the VS-KM algorithm by Brusco and Cradit 01 and I have come to a complete stop in my efforts. Maybe anybody is willing to follow my thoughts and offer some help. In a first step, I want to use a single variable for the partitioning process. As the center-matrix I use the objects that belong to the cluster I found with the hierarchial Ward algorithm. Then,
2004 Aug 06
1
imput data in cclust
I would like to see an example of a data matrix for cclust and how to import it to cclust. In fact, i don't know how to give my imput for cclust program! i test this file 1 0.23 1.52 2 0.52 1.25 3 0.13 1.89 4 0.78 1.11 i do >library(cclust) >x<-scan("test.matrice.phyl") >cclust(x,2,method="kmeans") i have this error message: Error in sample(length(x),
2001 Apr 27
0
weithed clustering (was: Re: problems with a large data set)
kmeans and clara work great. Thank you for the tip. I have another question: Is it possible to weight the observations in a cluster analysis ? I haven't found any mention of this in the kmeans of clara help texts. Moritz Lennert Charg? de recherche IGEAT - ULB t?l: 32-2-650.65.16 fax: 32-2-650.50.92 email: mlennert at ulb.ac.be > On Wed, 25 Apr 2001, Moritz Lennert wrote: >
2003 Apr 14
2
kmeans clustering
Hi, I am using kmeans to cluster a dataset. I test this example: > data<-matrix(scan("data100.txt"),100,37,byrow=T) (my dataset is 100 rows and 37 columns--clustering rows) > c1<-kmeans(data,3,20) > c1 $cluster [1] 1 1 1 1 1 1 1 3 3 3 1 3 1 3 3 1 1 1 1 3 1 3 3 1 1 1 3 3 1 1 3 1 1 1 1 3 3 [38] 3 1 1 1 3 1 1 1 1 3 3 3 1 1 1 1 1 1 3 1 3 1 1 3 1 1 1 1 3 1 1 1 1 1 1 3
2011 Apr 05
0
kmeans clustering java
Hello, I have been trying for a few days to do kmeans on a matrix of data which I populate from java. Here's my code: String[] Rargs = {"--vanilla"}; Rengine re = new Rengine(Rargs, false, null); System.out.println("Rengine created, waiting for R"); // the engine creates R is a new thread, so we should wait until it's // ready if
2013 Jan 24
1
Help regarding kmeans output. need to save the clusters into different directories/folders.
Hi Team, I am trying to run kmeans in R, and I need to save the different clusters into different folders. How can I achieve this? # this is how my data looks. $ *cat 1.tsv | head* userid bookid rating bookTotalRatings bookAvgRating userTotalRatings userAvgRating 1 100 0 24 2.7916666666666665 291 2.6735395189003435 2 200 7 24 2.9583333333333335 6 7.0
2003 Mar 05
1
problem with ccluster package
Hello, I am calling cclust function in cclust package repeatedly until some ceratain conditions for a cluster are met. Unfortunately, the system crashes on the second call (after debugging). # kmeans res1 is a well defined matrix cl <- cclust(res1, as.numeric(ncntrs), iter.max = 20, verbose = FALSE, dist="manhattan", method="kmeans") RGui has generated errors and will
2000 Mar 21
1
clustering methods in R
Dear R people, I need to do some work with clustering, but know next to nothing about it at present. R has (at least) three clustering packages, cluster, mclust, cclust. I was wondering if someone can direct me to some good books where I could find documentation and background on the functions in these packages. The html help in these packages lists the following as references. Can people
2006 Jun 29
1
kmeans clustering
Hello R list members, I'm a bio informatics student from the Leiden university (netherlands). We were asked to make a program with different clustering methods. The problem we are experiencing is the following. we have a matrix with data like the following research1 research2 research3 enz sample1 0.5 0.2 0.4 sample2 0.4
1998 Jun 22
0
R-beta: "cclust" Package
There is a new version of the 'CCLUST' package ,where i removed the extra command for the kmeans algorithm in the .R programm and also the comments about it in the .Rd help page. Now in the cclust library the kmeans algorithm can be applied only by using the cclust function. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
1998 Jun 22
0
R-beta: "cclust" Package
There is a new version of the 'CCLUST' package ,where i removed the extra command for the kmeans algorithm in the .R programm and also the comments about it in the .Rd help page. Now in the cclust library the kmeans algorithm can be applied only by using the cclust function. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2008 Nov 21
1
Help with CCLUS
Hi, I am using the following syntax to enter data and perform a cluster analysis: x <- read.table ("clstrdbt.csv", header=TRUE, sep = ",",fill = TRUE) cl<-cclust(x,4,20,verbose=TRUE,method="kmeans") This is the result I receive: Error in cclust(x, 4, 20, verbose = TRUE, method = "kmeans") : (list) object cannot be coerced to type 'double'