Displaying 20 results from an estimated 1200 matches similar to: "silhouette plot for kmeans result"
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
2003 Feb 06
2
function 'silhouette' in package 'cluster'
Dear all,
I am trying (without much success) to use the fuction 'silhouette'.
Would anyone encountered that before (or would know where I am wrong ?)
Please find below the R ouput. Thanks in advance,
L.
> s <- silhouette(ct, as.dist(metric))
Error in "[<-"(*tmp*, iC, "sil_width", value = s.i) :
number of items to replace is not a multiple of replacement
2008 Jun 13
1
Output of silhouette (cluster package)
Dear R users,
I am mailing you about the graphical output of silhouette (cluster
package)
From the example of silhouette in help(silhouette):
> ar <- agnes(ruspini)
> si3 <- silhouette(cutree(ar, k = 5), # k = 4 gave the same as pam()
above
+ daisy(ruspini))
> plot(si3, nmax = 80, cex.names = 0.5)
from which one may conclude that group 1 is composed by
2011 Aug 25
1
question on silhouette colours
I'm fairly new to the silhouette functionality in the cluster package, so apologize if I'm asking something naive.
If I run the 'agnes(ruspini)' example from the silhouette section of the cluster package vignette, and assign colours to clusters, two clusters have what appear to be incorrect colours in the silhouette plot.
library(cluster)
data(ruspini)
ar<- agnes(ruspini)
2010 Dec 31
1
Silhouette function problem
Hi,
I am using code below to get a plot that will show me on the X axis the
number of clusters and on the Y axis the cluster average widths. However I
am getting this error:
Error in summary(silhouette(cutree(d, x), dist(iris[, -5])))$si.summary :
$ operator is invalid for atomic vectors
the code I am using is:
avgs<-sapply(1:20,function(x)
summary(silhouette(cutree(d,x),
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi!
>library(cluster)
In this lib a function called silhoutte.default is defined
than on the R prompt it type
>silhouette.default
Error: Object "silhouette.default" not found
R1.9.0
The same error are at R1.8.1
And I knew that a function silhoutte.default are present.
But the same piece of code works in R1.6.2
???
Eryk
Dipl. bio-chem. Eryk Witold Wolski @
2005 Jun 27
1
A. Mani : colours in Silhouette
Hello,
In cluster analysis with cluster, how does one colour the silhouette
plots ? For example in using pam. There seems to be some problem there.
Everything else can be coloured.
Thanks,
A. Mani
Member, Cal. Math. Soc
2007 Oct 10
1
silhouette: clustering labels have to be consecutive intergers starting from 1?
Hi list,
When I was using 'silhouette' from the 'cluster' package to calculate
clustering performances, R crashed. I traced the problem to the fact that
my clustering labels only have 2's and 3's. when I replaced them with 1's
and 2's, the problem was solved. Is the function purposely written in this
way so when I have clustering labels, "2" and
2006 Feb 05
3
Cluster Analysis - Number of Clusters
Hello,
I'm playing around with cluster analysis, and am looking for methods to
select the number of clusters. I am aware of methods based on a 'pseudo
F' or a 'pseudo T^2'. Are there packages in R that will generate these
statistics, and/or other statistics to aid in cluster number selection?
Thanks,
John.
--
2009 Jun 20
1
png() resolution problem {was "Silhouette ..."}
Hallo Sebastian,
>>>>> "SP" == Sebastian P?lsterl <sebp at k-d-w.org>
>>>>> on Sun, 14 Jun 2009 14:04:52 +0200 writes:
SP> Hello Martin,
SP> I plotting the silhouette of a clustering and storing it as png. When I
SP> try to store the image as png the bars are missing. The bars are plotted
SP> when I use x11 or
2006 Nov 16
1
silhouette plot colors from trimkmeans solution
I was trying to create a multi-color silhouette plot (each cluster a different color) from clusters created by trimkmeans. This works straighforwardly on an object created from pam however my colors are interwoven when I try the same approach on clusters from trimkmeans. I also tried sorting the silhouette object using sortSilhouette which did not solve the problem. If anyone has a suggestion,
2006 Mar 20
1
plot and validation in clustering
Hi there,
I use function "kmeans" and "clara" to cluster one flow cytometry
dataset. By using function "plot", the clusters got from "clara" can be
graphed, while "kmeans" not. How can I get the plot of the clusters of
"kmeans"?
And, I hope to compare the two methods "kmeans" and "clara", or in other
word, I
2000 Oct 31
1
Silhouette plot labels in package cluster
Hello everybody:
I have just started using R, specifically the clustering packages. Despite
the vastness of the functionality of the system, I have found it very
flexible and intuitive. It has been great fun to experiment with it.
Nevertheless, I am under tight time constraints to complete a cluster
analysis of some data and need to come up with a "quick" solution for the
following
2003 Apr 28
4
plot(pam.object) error with R-1.7.0 on Red-Hat 8.0 i686
I don't know if there is some fault in compiling or a bug of the new
R-1.7.0 version:
cl.pam.2 <- pam(as.dist(1-cor(mel.data)),2)
plot(cl.pam.2)
perform a right partitioning and silhouette plot on the old R-1.6.2
instead
"Error in clusplot.default(x$diss,...... ;
x is not numeric"
is the output on the new R-1.7.0.
Same platform: RH8.0 i686.
Some suggestions?
A.S.
2016 Aug 19
2
KMeans - Evaluation Results
On 18 Aug 2016, at 23:59, Richhiey Thomas <richhiey.thomas at gmail.com> wrote:
> I've currently added a few classes which don't really belong to the public API (currently) into private headers and used PIMPL with the Cluster class.
I'm having difficulty reading your changes, because you aren't keeping to one complete change per commit. So for instance you've added a
2004 Jan 21
1
silhoutte.default bugs
Hello all,
This might have been fixed in later versions (I am using R1.7.0), r-help
archive contains messages reporting similar problems but no reports of
codes fixes. I have encountered a couple of problems using the
silhouette function. one occurs when the clustering contains clusters
composed of 1 element (Martin Maechler posted code few months ago that
fixes a similar problem that occurs
2016 Aug 15
2
KMeans - Evaluation Results
Hello,
I've recently finished with an implementation of KMeans with two
initialization techniques, random initialization and KMeans++. I would like
to share my findings after evaluating the same.
I have tested this implementation of KMeans with a BBC news article
dataset. I am currently working on evaluating the same with FIRE datasets.
Currently, clustering more than 500 documents
2007 Oct 16
0
doubts about Silhouette
Sorry for the long message. I'm doing my best to try to explain myself.
I have fitted a spline to my data, I have fitted a spline, filled in
the missing data by replicating the spline coefficients associated to
the last node. I obtained a number of dendograms by different
combination of distance and link-method by calling DIST and AGNES.
The agglomerative coefficient is very high (~ 0.99) for
2006 Aug 10
0
Colours in silhouette plots (cluster package)
I tried using colours in silhouette plots by specifying a vector of
colours instead of the default "gray" for the col parameter.
No bars are drawn, though the rest of the plot works as it did with
the grey bars. On investigating cluster:::plot.silhouette, I came
across this part:
if (do.col.sort && (lc <- length(col)) > 1) {
if (lc == k)
col <-
2000 Aug 10
1
svd error (PR#631)
--=====================_24736660==_
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
SVD-Error on
R 1.1.0
Windows 98
I get the following error applying svd on a positive definite matrix :
> sk2
[,1] [,2] [,3] [,4] [,5]
[1,] 1.0460139783 0.084356992 -2.810553e-04