Is a Fuzzy C-Means algorithm available for Python?

Martin Thoma picture Martin Thoma · Jul 18, 2011 · Viewed 17.7k times · Source

I have some dots in a 3 dimensional space and would like to cluster them. I know Pythons module "cluster", but it has only K-Means. Do you know a module which has FCM (Fuzzy C-Means)?

(If you know some other python modules which are related to clustering you could name them as a bonus. But the important question is the one for a FCM-algorithm in python.)

Matlab

It seems to be quite easy to use FCM in Matlab (example). Isn't something like this available for Python?

NumPy, SciPy and Sage

I didn't find FCM in NumPy, SciPy or Sage. I've downloaded the documentation and searched for it. No results

Python-cluster

It seems like the cluster module will add fuzzy C-Means with the next version (see Roadmap). But I need it now

Answer

Christian Goltz picture Christian Goltz · Jul 18, 2011

PEACH will provide some Fuzzy C-Means functionality: http://code.google.com/p/peach/

However there doesn't seem to be any usable documentation as the wiki is empty. An example for using FCM with PEACH can be found on its website.