Re: [Tutor] Cluster algorithms

2005-01-27 Thread Kent Johnson
Google is your friend: Googling 'python clustering algorithm' gives many hits that seem to have what 
you are looking for.

Kent
kumar s wrote:
Hi:
I am still trying to learn the OOPs side of python. 
however, things/circumstances dont seems to stop until
I finish my practise and attaing higher understanding.
may be, i am being pushed by circumstances into the
stream and i am being tested if I can swim efficiently
while I struggle with basic steps of swimming. The
100% analogy my perspective of learning python :-)

I have a couple of questions to ask tutors:
Are there any example programs depicting Clustering
algorithms such as agglomerative, complete link,
partional , squared error clustering, k-means or
clustering algos based on Neural networks or genetic
algorithm. although I just learned python, (to major
extent in programming also), I need to apply some of
these algos to my data.  Any
suggestions/recommendations? 

 Do I have to know to code well using OOP methods to
apply these algorithms?
-Kumar

		
__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Cluster algorithms

2005-01-27 Thread Bill Mill
Kumar,

On Wed, 26 Jan 2005 22:35:59 -0800 (PST), kumar s [EMAIL PROTECTED] wrote:
 Hi:
 
 I am still trying to learn the OOPs side of python.
 however, things/circumstances dont seems to stop until
 I finish my practise and attaing higher understanding.
 may be, i am being pushed by circumstances into the
 stream and i am being tested if I can swim efficiently
 while I struggle with basic steps of swimming. The
 100% analogy my perspective of learning python :-)
 
 I have a couple of questions to ask tutors:
 
 Are there any example programs depicting Clustering
 algorithms such as agglomerative, complete link,
 partional , squared error clustering, k-means or
 clustering algos based on Neural networks or genetic
 algorithm. although I just learned python, (to major
 extent in programming also), I need to apply some of
 these algos to my data.  Any
 suggestions/recommendations?
 

I wrote a tutorial on using perceptrons, and gave python sample code
in the article. You can see the article at
http://www.kuro5hin.org/story/2003/11/11/17383/475 . Perceptrons
probably aren't *useful* to you in sorting your data, but the code
should provide some insight into how you can do classification in
python.

Python is excellent for data mining and classification, thanks to the
excellent numarray module as well as the ipython shell and several
visualization libraries. I use it in place of Maple, Mathematica,
Matlab, or some other specialized mathematics package.

  Do I have to know to code well using OOP methods to
 apply these algorithms?
 

I call some methods on matrix objects in the tutorial, but don't use
any OOP. In fact, I often find that strict OOP is not so useful for
numerical algorithms, where your code will often have to be optimized
for speed.

Peace
Bill Mill
bill.mill at gmail.com
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Cluster algorithms

2005-01-27 Thread Kim Branson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Are there any example programs depicting Clustering
algorithms such as agglomerative, complete link,
partional , squared error clustering, k-means or
clustering algos based on Neural networks or genetic
algorithm. although I just learned python, (to major
extent in programming also), I need to apply some of
these algos to my data.  Any
suggestions/recommendations?

Have you looked at the orange machine learning tool kit,  many 
clustering, classification and learning tools are implemented in this 
package. PLus it has a nice widget style interface now where you can 
build your own tools. (if you like to use widgets, or you can just 
write you own code calling it). Its all GPL and its pretty fantastic 
stuff.

http://magix.fri.uni-lj.si/orange/
good luck
kim

Dr Kim Branson
Diffraction and Theory
CSIRO Health Sciences and Nutrition
343 Royal Parade, Parkville
Melbourne
Ph +613 9662 7136
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB+P+Oer2hmGbHcokRApb0AJ91FNkREGPCawfRFQqP4/HcDp+QEACfTSTO
VxKX/E3bY/Y8WKCHOM+ydQU=
=fEya
-END PGP SIGNATURE-
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor