similar to: PAM clustering: using my own dissimilarity matrix

Displaying 20 results from an estimated 3000 matches similar to: "PAM clustering: using my own dissimilarity matrix"

2001 Jan 09
2
PAM clustering (using triangular matrix)
Hi, I'm trying to use a similarity matrix (triangular) as input for pam() or fanny() clustering algorithms. The problem is that this algorithms can only accept a dissimilarity matrix, normally generated by daisy(). However, daisy only accept 'data matrix or dataframe. Dissimilarities will be computed between the rows of x'. Is there any way to say to that your data are already a
2005 May 30
2
"FANNY" function in R package "cluster"
Dear All, I am attempting to use the FANNY fuzzy clustering function in R (Kaufman & Rousseeuw, 1990), found in the "cluster" package. I have run into a variety of difficulties; the two most crucial difficulties are enumerated below. 1. Where is the 'm' parameter in FANNY? In _Finding Groups in Data: An Introduction to Cluster Analysis_ (1990) by Kaufman & Rousseeuw,
2002 Jan 28
1
Cluster package broken in 1.4.0?
Greetings, I am reasonably experienced with R but I recently tried to do some clustering using the "cluster" package, in order to see if it would help. I only tried this once with the 1.3.1 version and it worked (I don't quite remember which method I used). Now, I tried with the 1.4.0 version and no clustering function seems to work with matrices that contain NAs, even though
2006 Apr 07
1
fuzzy classification and dissimilarity matrix
Hello, I want to make a fuzzy classification from a dissimilarity matrix (calculated with daisy from package 'cluster'). I have tried to use fanny (package cluster) but I have the same problems than described in a previous message (http://tolstoy.newcastle.edu.au/R/help/05/05/4546.html) i.e. it always gives me two clusters in the results (even if k is different from 2) with the same
2013 Dec 08
3
Why daisy() in cluster library failed to exclude NA when computing dissimilarity
Hi, According to daisy function from cluster documentation, it can compute dissimilarity when NA (missing) value(s) is present. http://stat.ethz.ch/R-manual/R-devel/library/cluster/html/daisy.html But why when I tried this code library(cluster) x <- c(1.115,NA,NA,0.971,NA) y <- c(NA,1.006,NA,NA,0.645) df <- as.data.frame(rbind(x,y)) daisy(df,metric="gower") It gave this
2005 May 30
2
How to access to sum of dissimilarities in CLARA
Dear All , Since dissimilarity is one of quality measures in clustering , I'm trying to access to the sum of dissimilarity as a whole measure. But after running my data using CLARA I obtain : 1128 dissimilarities, summarized : Min. 1st Qu. Median Mean 3rd Qu. Max. 0.033155 0.934630 2.257000 2.941600 4.876600 8.943700 But I can not find the sum of dissimilarity.How can i
2005 Sep 14
0
correlation as distance/dissimilarity
I've been asked (privately) >>>>> "CarlosJ" == jaramilloc <jaramilloc at si.edu> >>>>> on Wed, 14 Sep 2005 09:40:22 -0400 writes: .......... CarlosJ> In Kaufman & Rousseeuw 2000 book on Cluster Analysis, it says that CarlosJ> Daisy can compute Pearson correlation between variables and then CarlosJ> transform
2009 Jun 17
1
Predict Fanny Membership
Hello List, My question is an elementary one. I have run a fuzzy kmeans cluster using FANNY to group freshwater fish assemblages. I then went in the field to validate that classification and have retrieved new assemblage data for a new suite of streams. Therefore I would like to use Predict to determine how well the original clustering fits the new data. However I have not figured out a
2004 Feb 06
2
Converting a Dissimilarity Matrix
Hi all, I'm trying to perform a hierarchical clustering on some dissimilarity data that I have but the data matrix I have already contains the dissimilarity values. These values are calculated using a separate program. The dissimilarity matrix in complete with no missing values but the hclust, and agnes routines require it in the form produced by daisy or dist. Is there any of converting
2004 Dec 08
2
similarity matrix conversion to dissimilarity
I have a matrix of similarity scores that I want to convert into a matrix of dissimilarity scores so that I can apply some clustering methods to the data. That is, high values in my matrix signify similarity and low values (zero being the lowest) signify no similarity. What functions/options in R or its packages are available for making this kind of transformation of a matrix?
2011 Jul 08
1
Visualizing a dissimilarity matrix in Euclidean space
Hi, I have a set of nodes and a dissimilarity matrix for them, as well as a csv file in which the diss matrix has been converted to [node_1, node_2, dissimilarity] format. I would like to visualize this as a graph in Euclidean space (that is, similar nodes clumped together in clusters), rather than the seriation visualization given by dissplot(). I am using Network WorkBench for my
2003 Jan 07
2
Extracting means for given strata from dissimilarity object
Is there a way of extracting mean distance or dissimilarity for a given strata from a 'dist' or 'dissimilarity' object, e.g. extract mean distances for each species in Anderson's iris data? data(iris) iris.dist<-dist(iris[,1:4]) then what? Mikkel Grum, PhD Genetic Diversity Scientist International Plant Genetic Resources Institute (IPGRI) Sub-Saharan Africa Group ***
2002 May 20
1
R bug in cluster package (PR#1580)
I have apparently found an error in the "pam" function of the "cluster" library package. Please pardon me if this error has been pointed out or if this e-mail should be directed to someone else. The problem only started occurring with R version 1.5.0, which I started using about a week ago. The problem occurs when you try to use "pam" with the input being a
2004 Sep 24
1
Cannot build cluster_1.9,6 under R 2.0.0 beta Sep 21
Doing the normal build process [1] for a first time with a R 2.0.0 snapshot -- the Sep 21 version I uploaded to Debian's 'experimental' section two days ago, ended in failure. The package in question is cluster 1.9.6 which should be 2.0.0-ready. The (partial) log follows: ----------------------------------------------------------------------------- [...] g77 -mieee-fp -fPIC -g -O2
2001 May 30
3
Transformation of dissimilarity or distance matrix
Dear List, is there an elegant (or even not elegant) way how to transform dissimilarity or distance matrix A (or, in general, arbitrary symmetrical matrix) by transposition of rows and columns into a form closest to "block diagonal" matrix B? The matrix A is adjusted the following way A[A<epsilon] <-0 #(epsilon is given "small" number) B: (in its ideal form)
2007 Jun 20
1
Dissimilarity
Hello Stephen, I am happy that you help me. Thanks a million. It is a good feeling that you confirm my assumption that dsvdis is not able to deal with missing data, because it says me that I am not completely incapable. Okay now I have the problem what to do. I used this function ´cause there is an option to weight columns differently what I haven´t found in other functions. But now I
2009 Mar 29
1
[cluster package question] What is the "sum of the dissimilarities" in the pam command ?
Hello Martin Maechler and All, A simple question (I hope): How can I compute the "sum of the dissimilarities" that appears in the pam command (from the cluster package) ? Is it the "manhattan" distance (such as the one implemented by "dist") ? I am asking since I am running clustering on a dataset. I found 7 medoids with the pam command, and from it I have the
2016 Apr 12
1
Dissimilarity matrix and number clusters determination
Hi, I already have a dissimilarity matrix and I am submitting the results to the elbow.obj method to get an optimal number of clusters. Am I reading the below output correctly that I should have 17 clusters? code: top150 <- sampleset[1:150,] {cluster1 <- daisy(top150 , metric = c("gower") , stand = TRUE , type = list(symm
2008 May 15
1
metaMDS using Dissimilarity matrix
Hello R-user community! I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics beginner) Presently I try to run the function metaMDS (vegan) using an existing dissimilarity-matrix. As I would like to start with this matrix I thought I could just give the matrix using the x= -argument Test<-metaMDS(x=Dist.Gower) Fehler in inherits(comm, "dist") :
2013 Sep 06
1
Fwd: calculating dissimilarity index of islands (vegan and betapart)
Dear List, This is Elaine, a postgraduate studying in bird distributions in East Asia. I want to calculate Simpson dissimilarity index, based on a presence/absence matrix of bird species in islands in East Asia. (matrix row: 36 islands/matrix column: species ID) (R package vegan to make NMDS and R package betapart) In most papers using vegan for NMDS and betapart for dissimilarity