Re: help in algorithm

2005-08-11 Thread Bill Mill
On 10 Aug 2005 12:46:08 -0700, gene tani <[EMAIL PROTECTED]> wrote: > this sounds like LSI / singular value decomposition (?) Why do you think so? I don't see it, but you might see something I don't. LSI can be used to cluster things, but I see no reason to believe that he's using LSI for his clus

Re: help in algorithm

2005-08-11 Thread Paolino
Bengt Richter wrote: > On Wed, 10 Aug 2005 16:51:55 +0200, Paolino <[EMAIL PROTECTED]> wrote: > > >>I have a self organizing net which aim is clustering words. >>Let's think the clustering is about their 2-grams set. >>Words then are instances of this class. >> >>class clusterable(str): >> def

Re: help in algorithm

2005-08-11 Thread Bengt Richter
On Wed, 10 Aug 2005 16:51:55 +0200, Paolino <[EMAIL PROTECTED]> wrote: >I have a self organizing net which aim is clustering words. >Let's think the clustering is about their 2-grams set. >Words then are instances of this class. > >class clusterable(str): > def __abs__(self):# the set of q-gram

Re: help in algorithm

2005-08-11 Thread Tom Anderson
On Wed, 10 Aug 2005, Paolino wrote: > I have a self organizing net which aim is clustering words. Let's think > the clustering is about their 2-grams set. Words then are instances of > this class. > > class clusterable(str): > def __abs__(self):# the set of q-grams (to be calculated only once)

Re: help in algorithm

2005-08-10 Thread gene tani
this sounds like LSI / singular value decomposition (?) http://javelina.cet.middlebury.edu/lsa/out/lsa_explanation.htm -- http://mail.python.org/mailman/listinfo/python-list

help in algorithm

2005-08-10 Thread Paolino
I have a self organizing net which aim is clustering words. Let's think the clustering is about their 2-grams set. Words then are instances of this class. class clusterable(str): def __abs__(self):# the set of q-grams (to be calculated only once) return set([(self+self[0])[n:n+2] for n in