in reply to Re^2: RFC: Fuzzy Clustering with Perl
in thread RFC: Fuzzy Clustering with Perl

Just out of curiosity, why are you implementing this in Perl? If the number of features goes beyond, say 5, for any reasonable dataset, this will be too slow to be of much use. I'd think this is the sort of thing you'd implement in C and then provide Perl bindings for...

Replies are listed 'Best First'.
Re^4: RFC: Fuzzy Clustering with Perl
by lin0 (Curate) on Nov 08, 2006 at 18:05 UTC

    Hello

    Thank you for your comments. I will try to address them to the best of my knowledge

    “Just out of curiosity, why are you implementing this in Perl?”

    I am interested in developing a granular computing implementation using Perl. You can see this post I wrote on the topic. Clustering is an essential part of a granular computing implementation and because I could not find any previous implementation of Fuzzy C-means in Perl, I decided to write one (basically I just ported a code I had written in C to Perl). I also saw the opportunity of writing a Perl implementation of the Fuzzy C-means as a learning opportunity. I have been programing in Perl for three months so I decided this was a good starting project. Moreover, I need to gain a better understanding on how to program in Perl to be able to start my Granular Computing implementation. That is the final goal.

    "If the number of features goes beyond, say 5, for any reasonable dataset, this will be too slow to be of much use."

    That could certainly be the case. However, for the projects I am planning to use this for, I do not expect to have many more than 5 features. In any case, to make it more general, I will start thinking about how to speed up the processing.

    “I'd think this is the sort of thing you'd implement in C and then provide Perl bindings for...”

    This could be a good solution. In fact, I checked on CPAN and Algorithm::Cluster is implemented that way: as a Perl Interface to the C Clustering Library. That is something that I will certainly consider in the very near future

    Again, thank you for your comments

    Cheers!

    lin0