Re: [Tutor] python clusters

2011-04-14 Thread nookasree ponamala
ct: Re: [Tutor] python clusters > To: tutor@python.org > Date: Thursday, April 14, 2011, 10:50 PM > > "nookasree ponamala" > wrote > > > ...trying to convert SAS code to python. this > one > > is the clustering program in SAS enterprise miner &g

Re: [Tutor] python clusters

2011-04-14 Thread Alan Gauld
"nookasree ponamala" wrote ...trying to convert SAS code to python. this one is the clustering program in SAS enterprise miner OK, I tried Google and got a 3Meg SAS PDF file that didn't help much. :-( I'm curious. Could someone post the elevator pitch on SAS Clustering? What on earth

Re: [Tutor] python clusters

2011-04-14 Thread nookasree ponamala
ng program in SAS enterprise miner and I don't have any idea of how to start with inb Python, that's the reason I did not post any code. I just used SAS language like variables.   Thanks, Sree. --- On Thu, 4/14/11, Luc Kesters wrote: From: Luc Kesters Subject: Re: [Tutor] pytho

Re: [Tutor] python clusters

2011-04-14 Thread Luc Kesters
When you say "text file" and variables, you mean you have a file with n records and m fields? Isn't the following what you are searching for? http://docs.scipy.org/doc/scipy/reference/cluster.html___ Tutor maillist - Tutor@python.org To unsubscribe or

Re: [Tutor] python clusters

2011-04-13 Thread Alan Gauld
"nookasree ponamala" wrote I've 30 variables in a text file I've no idea what a variable in a text file looks like or means. variables only make sense inside a program context, in a file the only thing that exists is data. You may have 30 values? and I want to read this text file and crea

Re: [Tutor] python clusters

2011-04-13 Thread Steven D'Aprano
nookasree ponamala wrote: Hi I've 30 variables in a text file and I want to read this text file and create 10 clusters based on 18 variables. How do you get variables in a text file? Normally text files contain text. What is a cluster? How would you create 10 clusters based on 18 variable

[Tutor] python clusters

2011-04-13 Thread nookasree ponamala
Hi I've 30 variables in a text file and I want to read this text file and create 10 clusters based on 18 variables. I want to read an other text file and find the closest match using these clusters Could you pls. help me with this. Thanks, Sree.