Re: [Numpy-discussion] need advice on installing NumPy onto a Windows 7 with Python2.7 (32-bit)

2012-01-26 Thread Val Kalatsky
To avoid all the hassle I suggest getting EPD: http://enthought.com/products/epd.php You'd get way more than just NumPy, which may or may not be what you need. I have installed various NumPy's on linux only and from source only which did require compilation (gcc), so I am not a good help for your s

[Numpy-discussion] need advice on installing NumPy onto a Windows 7 with Python2.7 (32-bit)

2012-01-26 Thread William McLendon
Hi, I am trying to install NumPy (using numpy-1.6.1-win32-superpack-python2.7) on a Windows 7 machine that has 32-bit Python 2.7 installed on it using the latest installer (python-2.7.2.msi). Python is installed into the default location, C:\Python27, and as far as I can tell the registry knows

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 6:43 PM, wrote: > On Thu, Jan 26, 2012 at 3:58 PM, Bruce Southey wrote: >> On Thu, Jan 26, 2012 at 12:45 PM,   wrote: >>> On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig wrote: > Le 26/01/2012 15:57, B

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread josef . pktd
On Thu, Jan 26, 2012 at 3:58 PM, Bruce Southey wrote: > On Thu, Jan 26, 2012 at 12:45 PM,   wrote: >> On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: >>> On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig >>> wrote: Le 26/01/2012 15:57, Bruce Southey a écrit : > Can you please provi

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2 (Samuel John)

2012-01-26 Thread Hans-Martin v. Gaudecker
Hi Samuel, I realised that a couple of days ago as well… Same on Python 2.7.2 (full output from both below FWIW). I usually only need a minimal subset of SciPy, so still hoping it's only in places I don't need it. Else I shall be happy to come back to your formulas, thanks for making them! B

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 12:45 PM, wrote: > On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: >> On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig >> wrote: >>> Le 26/01/2012 15:57, Bruce Southey a écrit : Can you please provide a couple of real examples with expected output that cl

Re: [Numpy-discussion] advanced indexing bug with huge arrays?

2012-01-26 Thread Robert Kern
On Thu, Jan 26, 2012 at 17:39, Sturla Molden wrote: > Den 24.01.2012 17:19, skrev David Warde-Farley: >> >> Hmm. Seeing as the width of a C long is inconsistent, does this imply that >> the random number generator will produce different results on different >> platforms? > > If it does, it is a C

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread josef . pktd
On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: > On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig > wrote: >> Le 26/01/2012 15:57, Bruce Southey a écrit : >>> Can you please provide a >>> couple of real examples with expected output that clearly show what >>> you want? >>> >> Hi Bruce, >>

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig wrote: > Le 26/01/2012 15:57, Bruce Southey a écrit : >> Can you please provide a >> couple of real examples with expected output that clearly show what >> you want? >> > Hi Bruce, > > Thanks for your ticket feedback ! It's precisely because I see a

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread josef . pktd
On Thu, Jan 26, 2012 at 12:26 PM, Sturla Molden wrote: > Den 26.01.2012 17:25, skrev Pierre Haessig: >> However, in the case this change is not possible, I would see this >> solution : >> * add and xcov function that does what Elliot and Sturla and I >> described, because > > The current np.cov im

Re: [Numpy-discussion] Problem installing NumPy with Python 3.2.2/MacOS X 10.7.2

2012-01-26 Thread Samuel John
Hi Hans-Martin! You could try my instructions recently posted to this list http://thread.gmane.org/gmane.comp.python.scientific.devel/15956/ Basically, using llvm-gcc scipy segfaults when scipy.test() (on my system at least). Therefore, I created the homebrew install formula. They work for wha

Re: [Numpy-discussion] advanced indexing bug with huge arrays?

2012-01-26 Thread Sturla Molden
Den 24.01.2012 17:19, skrev David Warde-Farley: > > Hmm. Seeing as the width of a C long is inconsistent, does this imply that > the random number generator will produce different results on different > platforms? If it does, it is a C programming mistake. C code should never depend on the exact

Re: [Numpy-discussion] array metadata

2012-01-26 Thread Emmanuel Mayssat
subclassing is what I was looking for. Indeed the code is almost available at http://docs.scipy.org/doc/numpy/user/basics.subclassing.html#simple-example-adding-an-extra-attribute-to-ndarray I just created a dictionary variable which I called 'metadata' I had to overload the __repr__ method to prin

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Sturla Molden
Den 26.01.2012 17:25, skrev Pierre Haessig: > However, in the case this change is not possible, I would see this > solution : > * add and xcov function that does what Elliot and Sturla and I > described, because The current np.cov implementation returns the cross-covariance the way it is commonly

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Pierre Haessig
Le 26/01/2012 16:50, Pauli Virtanen a écrit : > the current behavior is not a bug, I completely agree that numpy.cov(m,y) does what it says ! I (and apparently some other people) are only questioning why there is such a behavior ? Indeed, the second variable `y` is presented as "An additional se

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Pierre Haessig
Le 26/01/2012 15:57, Bruce Southey a écrit : > Can you please provide a > couple of real examples with expected output that clearly show what > you want? > Hi Bruce, Thanks for your ticket feedback ! It's precisely because I see a big potential impact of the proposed change that I send first a ML

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Pauli Virtanen
26.01.2012 15:57, Bruce Southey kirjoitti: [clip] > Also I believe that changing the np.cov > function will cause major havoc because numpy and people's code depend > on the current behavior. Changing the behavior of `cov` is IMHO not really possible at this point --- the current behavior is not a

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 7:19 AM, Pierre Haessig wrote: > Le 22/01/2012 01:40, josef.p...@gmail.com a écrit : >> same here, >> When I rewrote scipy.stats.spearmanr, I matched the numpy behavior for >> two arrays, while R only returns the cross-correlation part. > Since I've seen no negative feedbac

Re: [Numpy-discussion] array metadata

2012-01-26 Thread Derek Homeier
On 26 Jan 2012, at 13:30, Paul Anton Letnes wrote: > If by "store" you mean "store on disk", I recommend h5py datasets and > attributes. Reportedly pytables is also good but I don't have any > first hand experience there. Both python modules use the hdf5 library, > written in C/C++/Fortran. > > P

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Pierre Haessig
Le 22/01/2012 01:40, josef.p...@gmail.com a écrit : > same here, > When I rewrote scipy.stats.spearmanr, I matched the numpy behavior for > two arrays, while R only returns the cross-correlation part. Since I've seen no negative feedback, I jumped to the next step by creating a Trac account and po

Re: [Numpy-discussion] OT: MS C++ AMP library

2012-01-26 Thread Samuel John
Yes, I agree 100%. On 26.01.2012, at 10:19, Sturla Molden wrote: > When we have nice libraries like OpenCL, OpenGL and OpenMP, I am so glad > we have Microsoft to screw it up. > > Congratulations to Redmond: Another C++ API I cannot read, and a > scientific compute library I hopefully never hav

Re: [Numpy-discussion] array metadata

2012-01-26 Thread Paul Anton Letnes
If by "store" you mean "store on disk", I recommend h5py datasets and attributes. Reportedly pytables is also good but I don't have any first hand experience there. Both python modules use the hdf5 library, written in C/C++/Fortran. Paul On Wed, Jan 25, 2012 at 7:47 PM, Val Kalatsky wrote: > > I

Re: [Numpy-discussion] OT: MS C++ AMP library

2012-01-26 Thread Matthieu Brucher
Hi Sturla, It has been several months now since AMP is there, I wouldn't care about it. You also forgot about OpenAcc, the accelerator sister of OpenMP, Intel's PBB (with TBB, IPP, ArBB that will soon make a step in Numpy's world), OmpSS, and so many others. I wouldn't blame MS for this, IMHO Int

[Numpy-discussion] OT: MS C++ AMP library

2012-01-26 Thread Sturla Molden
When we have nice libraries like OpenCL, OpenGL and OpenMP, I am so glad we have Microsoft to screw it up. Congratulations to Redmond: Another C++ API I cannot read, and a scientific compute library I hopefully never have to use. http://msdn.microsoft.com/en-us/library/hh265136(v=vs.110).aspx