Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-22 Thread eat
Hi, On Fri, Jun 22, 2012 at 6:05 PM, Benjamin Root wrote: > > > On Fri, Jun 22, 2012 at 10:25 AM, Travis Oliphant wrote: > >> Accessing individual elements of NumPy arrays is slower than accessing >> individual elements of lists --- around 2.5x-3x slower.NumPy has to do >> more work to figur

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-22 Thread Travis Oliphant
> > > -Travis > > > However, what is the timing/memory cost of converting a large numpy array > that already exists into python list of lists? If all my processing before > the munkres step is using NumPy, converting it into python lists has a cost. > Also, your timings indicate only ~2x s

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-22 Thread Benjamin Root
On Fri, Jun 22, 2012 at 10:25 AM, Travis Oliphant wrote: > Accessing individual elements of NumPy arrays is slower than accessing > individual elements of lists --- around 2.5x-3x slower.NumPy has to do > more work to figure out what kind of indexing you are trying to do because > of its flexi

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-22 Thread Travis Oliphant
Accessing individual elements of NumPy arrays is slower than accessing individual elements of lists --- around 2.5x-3x slower.NumPy has to do more work to figure out what kind of indexing you are trying to do because of its flexibility. It also has to create the Python object to return.

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-22 Thread Benjamin Root
On Fri, Jun 22, 2012 at 9:42 AM, eat wrote: > Hi, > > On Fri, Jun 22, 2012 at 7:51 AM, Gael Varoquaux < > gael.varoqu...@normalesup.org> wrote: > >> On Thu, Jun 21, 2012 at 08:59:09PM -0400, Benjamin Root wrote: >> > > munkres seems to be a pure python implementation ;-). >> >> > Oops!

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread Gael Varoquaux
On Thu, Jun 21, 2012 at 08:59:09PM -0400, Benjamin Root wrote: > > munkres seems to be a pure python implementation ;-). > Oops! I could have sworn that I once tried one named munkres that used > numpy. But that was several years ago. >There is a development branch of sk-learn

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread Benjamin Root
On Thursday, June 21, 2012, Robert Kern wrote: > On Thu, Jun 21, 2012 at 7:33 PM, eat > > wrote: > > Heh, > > > > On Thu, Jun 21, 2012 at 6:03 PM, Robert Kern > > > > wrote: > >> > >> On Thu, Jun 21, 2012 at 3:59 PM, bob tnur > >> > > wrote: > >> > Hi all numpy fun;) > >> > This question is alre

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread Robert Kern
On Thu, Jun 21, 2012 at 7:33 PM, eat wrote: > Heh, > > On Thu, Jun 21, 2012 at 6:03 PM, Robert Kern wrote: >> >> On Thu, Jun 21, 2012 at 3:59 PM, bob tnur wrote: >> > Hi all numpy fun;) >> > This question is already posted in stackoverflow by some people, I am >> > just >> > thinking that numpy

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread eat
Heh, On Thu, Jun 21, 2012 at 6:03 PM, Robert Kern wrote: > On Thu, Jun 21, 2012 at 3:59 PM, bob tnur wrote: > > Hi all numpy fun;) > > This question is already posted in stackoverflow by some people, I am > just > > thinking that numpy python will do this with trick;) I guess numpy will > be >

Re: [Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread Robert Kern
On Thu, Jun 21, 2012 at 3:59 PM, bob tnur wrote: > Hi all numpy fun;) > This question is already posted in stackoverflow by some people, I am just > thinking that numpy python will do this with trick;) I guess numpy will be > every ones choice as its popularity increases. The question is herein: >

[Numpy-discussion] Good way to develop numpy as popular choice!

2012-06-21 Thread bob tnur
Hi all numpy fun;) This question is already posted in stackoverflow by some people, I am just thinking that numpy python will do this with trick;) I guess numpy will be every ones choice as its popularity increases. The question is herein: http://stackoverflow.com/questions/10074270/how-can-i-find-