Re: [Numpy-discussion] Odd-looking long double on windows 32 bit

2011-11-15 Thread David Cournapeau
On Tue, Nov 15, 2011 at 6:22 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Nov 14, 2011 at 10:08 PM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 14, 2011 at 9:01 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Nov 13, 2011 at 5:03 PM, Charles R

Re: [Numpy-discussion] Odd-looking long double on windows 32 bit

2011-11-15 Thread Matthew Brett
Hi, On Tue, Nov 15, 2011 at 12:51 AM, David Cournapeau courn...@gmail.com wrote: On Tue, Nov 15, 2011 at 6:22 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Nov 14, 2011 at 10:08 PM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 14, 2011 at 9:01 PM, Matthew Brett

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread Olivier Delalleau
2011/11/14 Robert Kern robert.k...@gmail.com On Mon, Nov 14, 2011 at 20:18, MACKEITH Andrew andrew.macke...@3ds.com wrote: Could someone explain this? An instance of numpy.int32 is not an instance of int or numpy.int. An instance of numpy.int64 is an instance of int and numpy.int. I

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread MACKEITH Andrew
From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Olivier Delalleau Sent: Tuesday, November 15, 2011 7:03 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is 2011/11/14

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread Olivier Delalleau
2011/11/15 MACKEITH Andrew andrew.macke...@3ds.com *From:* numpy-discussion-boun...@scipy.org [mailto: numpy-discussion-boun...@scipy.org] *On Behalf Of *Olivier Delalleau *Sent:* Tuesday, November 15, 2011 7:03 AM *To:* Discussion of Numerical Python *Subject:* Re: [Numpy-discussion]

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Bruce Southey
On 11/14/2011 10:05 AM, Andreas Müller wrote: On 11/14/2011 04:23 PM, David Cournapeau wrote: On Mon, Nov 14, 2011 at 12:46 PM, Andreas Müller amuel...@ais.uni-bonn.de wrote: Hi everybody. When I did some normalization using numpy, I noticed that numpy.std uses more ram than I was expecting.

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread MACKEITH Andrew
From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Olivier Delalleau Sent: Tuesday, November 15, 2011 10:02 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is 2011/11/15

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Andreas Müller
On 11/15/2011 04:28 PM, Bruce Southey wrote: On 11/14/2011 10:05 AM, Andreas Müller wrote: On 11/14/2011 04:23 PM, David Cournapeau wrote: On Mon, Nov 14, 2011 at 12:46 PM, Andreas Müller amuel...@ais.uni-bonn.de wrote: Hi everybody. When I did some normalization using numpy, I noticed that

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Andreas Müller
On 11/15/2011 05:46 PM, Andreas Müller wrote: On 11/15/2011 04:28 PM, Bruce Southey wrote: On 11/14/2011 10:05 AM, Andreas Müller wrote: On 11/14/2011 04:23 PM, David Cournapeau wrote: On Mon, Nov 14, 2011 at 12:46 PM, Andreas Müller amuel...@ais.uni-bonn.de wrote: Hi everybody. When I did

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Gael Varoquaux
On Tue, Nov 15, 2011 at 05:46:52PM +0100, Andreas Müller wrote: My question was more along the lines of why doesn't numpy do the online algorithm. It's probably a matter of nobody having had the time and the urge to code it, _and_ do all the extra steps necessary to integrate to the core

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Warren Weckesser
On Tue, Nov 15, 2011 at 10:48 AM, Andreas Müller amuel...@ais.uni-bonn.dewrote: ** On 11/15/2011 05:46 PM, Andreas Müller wrote: On 11/15/2011 04:28 PM, Bruce Southey wrote: On 11/14/2011 10:05 AM, Andreas Müller wrote: On 11/14/2011 04:23 PM, David Cournapeau wrote: On Mon, Nov 14,

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Andreas Müller
On 11/15/2011 06:02 PM, Warren Weckesser wrote: On Tue, Nov 15, 2011 at 10:48 AM, Andreas Müller amuel...@ais.uni-bonn.de mailto:amuel...@ais.uni-bonn.de wrote: On 11/15/2011 05:46 PM, Andreas Müller wrote: On 11/15/2011 04:28 PM, Bruce Southey wrote: On 11/14/2011 10:05 AM,

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Robert Kern
On Tue, Nov 15, 2011 at 16:55, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Tue, Nov 15, 2011 at 05:46:52PM +0100, Andreas Müller wrote:    My question was more along the lines of why doesn't numpy do the online    algorithm. It's probably a matter of nobody having had the time and

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Gael Varoquaux
On Tue, Nov 15, 2011 at 05:57:14PM +, Robert Kern wrote: Actually, last time I suggested it, it was brought up that the online algorithms can be worse numerically. I'll try to find the thread. Indeed, especially for smallish datasets where the memory overhead is not an issue. I think that

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Bruce Southey
On Tue, Nov 15, 2011 at 11:57 AM, Robert Kern robert.k...@gmail.com wrote: On Tue, Nov 15, 2011 at 16:55, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Tue, Nov 15, 2011 at 05:46:52PM +0100, Andreas Müller wrote:    My question was more along the lines of why doesn't numpy do the

Re: [Numpy-discussion] Using dtype=object

2011-11-15 Thread Stéfan van der Walt
On Mon, Nov 14, 2011 at 9:08 PM, Nathan Faggian nathan.fagg...@gmail.comwrote: I am interested in the use of numpy with native python objects, like so: In [91]: import collections In [92]: testContainer = collections.namedtuple('testContainer', 'att1 att2 att3') In [93]: test1 =