[Rd] fuzzy c-means algorithm in e1071

From: Tim Smyth <tjsm_at_pml.ac.uk>
Date: Fri, 15 Jul 2011 01:11:22 -0700 (PDT)


I was wondering if it was possible to add an extra option to the cmeans function please? In a recent paper by Moore et al.,(2009) they state:

"The fuzzy membership function is: 1 - F(Z2), where Z2 is a squared Mahalanobis distance and F is a cumulative chi-square distribution. The Mahalanobis distance is the multivariate equivalent of the standardised random variable Z = (X - M)/S, which is the distance of the univariate random variable X from its mean M normalised by the standard deviation S. In other words, the Mahalanobis distance is a weighted form of the Euclidean, and is preferable because it incorporates the shape of the the distribution of points around the cluster centre (i.e., the geometric shape of the point cloud expressed in terms of variance). The fuzzy membership ranges from 0 to 1 ..."

so as well as having a dist = "euclidean" option, would it be possible to have a dist = "mahalanobis" option please? I realise that this is quite an ask - you could even point me in the right direction of where to start editing code and getting it compiled on my own machine.

Tim Smyth

ref: T.S. Moore et al. Remote Sensing of Environment 113 (2009) 2424-2430

--
View this message in context: http://r.789695.n4.nabble.com/fuzzy-c-means-algorithm-in-e1071-tp3669374p3669374.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 15 Jul 2011 - 11:34:24 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Jul 2011 - 18:50:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive