Re: [Numpy-discussion] Installation info

2008-06-09 Thread Gael Varoquaux
On Sat, May 31, 2008 at 12:01:10PM +0900, David Cournapeau wrote: On Fri, May 30, 2008 at 8:35 PM, Hanni Ali [EMAIL PROTECTED] wrote: I would also like to see a 64bit build for windows as well if possible. Unfortunately, this is difficult: windows 64 is not commonly available (I don't have

Re: [Numpy-discussion] Installation info

2008-06-09 Thread David Cournapeau
Gael Varoquaux wrote: I was just wondering, could we ask Microsoft for some help here. A build bot, or a Windows 64 license... They are helping porting the SAGE project to windows, so they do have interest in getting open source scientific software working on windows. Windows 64 is

Re: [Numpy-discussion] Installation info

2008-06-09 Thread Hanni Ali
I have used the trail of Visual Studio 2008 (on full Server 2003) it copmiles and runs well if you comment out the lines meantioned earlier on in this thread. I am planning to spend some time with the intel fortran compiler to try to compile blas/lapack in the next few weeks. It is part of my

Re: [Numpy-discussion] Installation info

2008-06-09 Thread Hanni Ali
Hi Robert, Attached is the complete output, below is what I believe is the relevant area of interest: compiling C sources creating build\temp.win-amd64-2.6\Release\build creating build\temp.win-amd64-2.6\Release\build\src.win-amd64-2.6 creating

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Stéfan van der Walt
2008/6/8 Alan McIntyre [EMAIL PROTECTED]: Right now there's if __name__ == '__main__' boilerplate at the end of every test module; nose can find and run tests without that being there. I wanted to get the list's take on removing that--it just means that if you want to run the tests in one

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Alan McIntyre
On Mon, Jun 9, 2008 at 3:41 AM, Stéfan van der Walt [EMAIL PROTECTED] wrote: I suggest we also remove ParametricTestCase now. I don't mind converting the existing uses (looks like it's only used 5 times) to something else, it was causing trouble for me with nose anyway--whenever the test module

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Andrew Straw
Alan McIntyre wrote: On Mon, Jun 9, 2008 at 3:41 AM, Stéfan van der Walt [EMAIL PROTECTED] wrote: I suggest we also remove ParametricTestCase now. I don't mind converting the existing uses (looks like it's only used 5 times) to something else, it was causing trouble for me with nose

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Matthew Brett
Hi, I am sure you know this already, but you can just replace the tests using ParametricTestCase with a nose test generator. See: http://www.scipy.org/scipy/scipy/wiki/TestingGuidelines under Parametric tests. Best, Matthew On Mon, Jun 9, 2008 at 3:37 PM, Alan McIntyre [EMAIL PROTECTED]

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Alan McIntyre
On Mon, Jun 9, 2008 at 10:43 AM, Andrew Straw [EMAIL PROTECTED] wrote: I'm using it in some of my code, but I'll happily switch to nose. It will make my life easier, however, if I can see how you've converted it. If you do this, can you indicate what svn revision made the switch? Certainly,

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Alan McIntyre
On Mon, Jun 9, 2008 at 10:47 AM, Matthew Brett [EMAIL PROTECTED] wrote: I am sure you know this already, but you can just replace the tests using ParametricTestCase with a nose test generator. Thanks for pointing that out; it's a rather cool feature. :)

[Numpy-discussion] Bug in numpy.histogram?

2008-06-09 Thread Tommy Grav
With the most recent change in numpy 1.1 it seems that numpy.histogram was broken when wanting a normalized histogram. I thought the idea was to leave the functionality of histogram as it was in 1.1 and then break the api in 1.2? import numpy a = [0,1,2,3,4,5,6,7,8] numpy.histogram(a)

Re: [Numpy-discussion] Bug in numpy.histogram?

2008-06-09 Thread Pauli Virtanen
ma, 2008-06-09 kello 11:11 -0400, Tommy Grav kirjoitti: With the most recent change in numpy 1.1 it seems that numpy.histogram was broken when wanting a normalized histogram. I thought the idea was to leave the functionality of histogram as it was in 1.1 and then break the api in 1.2? [clip]

Re: [Numpy-discussion] Bug in numpy.histogram?

2008-06-09 Thread Tommy Grav
I understand this and agree, but it still means that the API for histogram is broken since normed can only be used with the new=True parameter. I though the whole point of the future warning was to avoid this. It is not a big deal, just means that one is forced to use the new API somewhat

[Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Charles R Harris
Dear Friends, Our wonderful buildbot is in declining health. The Mac can't update from svn, Andrew's machines are offline, the Sparcs have lost their spark, and bsd_64 is suffering from tolist() syndrome: == FAIL: Ticket #793,

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Andrew Straw
Charles R Harris wrote: Dear Friends, Our wonderful buildbot is in declining health. The Mac can't update from svn, Andrew's machines are offline, the Sparcs have lost their spark, and bsd_64 is suffering from tolist() syndrome: AFAIK, I don't have any machines on the buildbot... Is there

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Alan McIntyre
On Mon, Jun 9, 2008 at 12:16 PM, Charles R Harris [EMAIL PROTECTED] wrote: Only Windows_xp_64 still functions, but for how long? We need your help! What version of the MS compilers is needed for a Windows build? I've got a WinXP machine that could be used as a buildbot as long as I don't have

[Numpy-discussion] problems building in cygwin under vmware

2008-06-09 Thread Chris Kees
Hi, I'm getting an assembler error Error: suffix or operands invalid for `fnstsw' while trying to build numpy on cygwin (running under windows XP running on vmware on a mac pro). I've tried the last two releases of numpy and the svn version. Has anybody ever seen this before? -Chris tail

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Charles R Harris
On Mon, Jun 9, 2008 at 12:18 PM, Andrew Straw [EMAIL PROTECTED] wrote: Charles R Harris wrote: Dear Friends, Our wonderful buildbot is in declining health. The Mac can't update from svn, Andrew's machines are offline, the Sparcs have lost their spark, and bsd_64 is suffering from

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Charles R Harris
On Mon, Jun 9, 2008 at 1:02 PM, Bruce Southey [EMAIL PROTECTED] wrote: Alan McIntyre wrote: On Mon, Jun 9, 2008 at 12:16 PM, Charles R Harris [EMAIL PROTECTED] wrote: Only Windows_xp_64 still functions, but for how long? We need your help! What version of the MS compilers is needed

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Stéfan van der Walt
2008/6/9 Charles R Harris [EMAIL PROTECTED]: On Mon, Jun 9, 2008 at 12:18 PM, Andrew Straw [EMAIL PROTECTED] wrote: Charles R Harris wrote: Dear Friends, Our wonderful buildbot is in declining health. The Mac can't update from svn, Andrew's machines are offline, the Sparcs have lost

Re: [Numpy-discussion] Bug in numpy.histogram?

2008-06-09 Thread David Huard
2008/6/9 Tommy Grav [EMAIL PROTECTED]: I understand this and agree, but it still means that the API for histogram is broken since normed can only be used with the new=True parameter. I though the whole point of the future warning was to avoid this. It is not a big deal, just means that one

Re: [Numpy-discussion] Buildbot dying horrible, slow death.

2008-06-09 Thread Charles R Harris
On Mon, Jun 9, 2008 at 2:37 PM, Stéfan van der Walt [EMAIL PROTECTED] wrote: 2008/6/9 Charles R Harris [EMAIL PROTECTED]: On Mon, Jun 9, 2008 at 12:18 PM, Andrew Straw [EMAIL PROTECTED] wrote: Charles R Harris wrote: Dear Friends, Our wonderful buildbot is in declining health.

Re: [Numpy-discussion] numpy 1.1: import numpy fails in Debian

2008-06-09 Thread Ondrej Certik
On Mon, Jun 9, 2008 at 6:20 PM, Ondrej Certik [EMAIL PROTECTED] wrote: Hi, I tried to package numpy 1.1 and upload it to Debian, all worked fine, I installed the package and: In [1]: import numpy --- ImportError

Re: [Numpy-discussion] Switching to nose test framework (was: NumpyTest problem)

2008-06-09 Thread Robert Kern
On Mon, Jun 9, 2008 at 18:07, Anne Archibald [EMAIL PROTECTED] wrote: Then again, it doesn't usually work for me to use the boilerplate to run a single test without installing, since the non-installed test doesn't necessarily find all the non-installed code, sometimes falling back on the

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Robert Kern
On Mon, Jun 9, 2008 at 18:34, Keith Goodman [EMAIL PROTECTED] wrote: Does anyone have a function that converts ranks into a Gaussian? I have an array x: import numpy as np x = np.random.rand(5) I rank it: x = x.argsort().argsort() x_ranked = x.argsort().argsort() x_ranked array([3,

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Pierre GM
On Monday 09 June 2008 22:06:24 Keith Goodman wrote: On Mon, Jun 9, 2008 at 4:45 PM, Robert Kern [EMAIL PROTECTED] wrote: There are subtleties in computing ranks when ties are involved. Take a look at the implementation of scipy.stats.rankdata(). Good point. I had to deal with ties and

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Keith Goodman
On Mon, Jun 9, 2008 at 7:02 PM, Pierre GM [EMAIL PROTECTED] wrote: On Monday 09 June 2008 22:06:24 Keith Goodman wrote: On Mon, Jun 9, 2008 at 4:45 PM, Robert Kern [EMAIL PROTECTED] wrote: There are subtleties in computing ranks when ties are involved. Take a look at the implementation of

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Robert Kern
On Mon, Jun 9, 2008 at 21:06, Keith Goodman [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 4:45 PM, Robert Kern [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 18:34, Keith Goodman [EMAIL PROTECTED] wrote: Does anyone have a function that converts ranks into a Gaussian? I have an array x:

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Pierre GM
On Monday 09 June 2008 22:30:09 Keith Goodman wrote: On Mon, Jun 9, 2008 at 7:02 PM, Pierre GM [EMAIL PROTECTED] wrote: There's a scipy.stats.mstats.rankdata() that take care of both ties and missing data. Missing data are allocated a rank of either 0 or the average rank, depending on some

Re: [Numpy-discussion] Coverting ranks to a Gaussian

2008-06-09 Thread Keith Goodman
On Mon, Jun 9, 2008 at 7:35 PM, Robert Kern [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 21:06, Keith Goodman [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 4:45 PM, Robert Kern [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 18:34, Keith Goodman [EMAIL PROTECTED] wrote: Does anyone have a