Re: [Numpy-discussion] Contribution

2011-05-28 Thread Dmitriy Rybalkin
I added the page LinearClassification to Numpy/Scipy Cookbook http://www.scipy.org/Cookbook/LinearClassification, hope that it won't be deleted On Sun, May 29, 2011 at 7:09 AM, Dmitriy Rybalkin wrote: > Thank you, Gael, I really hope that I'll improve my programming skills. > Also I have a questi

Re: [Numpy-discussion] Contribution

2011-05-28 Thread Dmitriy Rybalkin
Thank you, Gael, I really hope that I'll improve my programming skills. Also I have a question: Will the page with my example be deleted in case the code is not efficient or smth else has been found to be wrong? On Sat, May 28, 2011 at 1:15 PM, Gael Varoquaux wrote: > I Dmitriy, > > Welcome. > >

Re: [Numpy-discussion] Is this right forum for doubts abt numpy/scipy installation

2011-05-28 Thread Ralf Gommers
On Sat, May 28, 2011 at 4:32 PM, akshar bhosale wrote: > Hi, > Is this right forum for doubts abt numpy/scipy installation? > It is. Please don't keep resending your email. This is your third email with the exact same content, while I replied to your first one already. Ralf > Please find our

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-28 Thread Robert Kern
On Sat, May 28, 2011 at 14:40, Michael Katz wrote: > Thanks for the explanation. It sounds like Python needs __rcontains__. Not really. For the mathematical operators, there are good ways for the operands to "know" what types they can deal with and which they can't. For mylist.__contains__(x), it

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-28 Thread Michael Katz
Thanks for the explanation. It sounds like Python needs __rcontains__. From: Robert Kern To: Discussion of Numerical Python Sent: Sat, May 28, 2011 12:30:05 PM Subject: Re: [Numpy-discussion] finding elements that match any in a set On Sat, May 28, 2011 at 14:

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-28 Thread Robert Kern
On Sat, May 28, 2011 at 14:18, Michael Katz wrote: > Yes, thanks, np.in1d is what I needed. I didn't know how to find that. > > It still seems counterintuitive to me that > >     indexes = np.where( records.integer_field in values ) > > does not work whereas > >     indexes = np.where( records.int

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-28 Thread Michael Katz
Yes, thanks, np.in1d is what I needed. I didn't know how to find that. It still seems counterintuitive to me that indexes = np.where( records.integer_field in values ) does not work whereas indexes = np.where( records.integer_field > 5 ) does. In one case numpy is overriding the > ope

[Numpy-discussion] Is this right forum for doubts abt numpy/scipy installation

2011-05-28 Thread akshar bhosale
Hi, Is this right forum for doubts abt numpy/scipy installation? Please find our issue below .. we have machine having intel xeon x7350 processors(8 nos) and RHEL 5.2 x86_64 with kernel 2.6.18-92.el5. We have following configuration : /opt/intel/Compiler/11.0/069/ mkl/lib/em64t Now we want to insta

[Numpy-discussion] [ANN] PyPhy - Python in Physics - Satellite of Euroscipy 2011

2011-05-28 Thread Emmanuelle Gouillart
On behalf of the organizers, it is my pleasure to announce PyPhy, a satellite meeting of Euroscipy 2011 on **Python in Physics**. Date and venue -- August 29th, 2011 (full day) Department of Physics, Ecole normale supérieure, Paris Main topics * Python for teac

Re: [Numpy-discussion] Contribution

2011-05-28 Thread Gael Varoquaux
I Dmitriy, Welcome. This is a great initiative. You'll learn by doing, and I am willing to bet that contributing examples can make you a good programmer. On Fri, May 27, 2011 at 09:47:24PM +0400, Dmitriy Rybalkin wrote: > I thought I could contribute to the Numpy project by > showing some examp

[Numpy-discussion] Problem with installation of numpy and scipy using MKL

2011-05-28 Thread akshar bhosale
Hi, we have machine having intel xeon x7350 processors(8 nos) and RHEL 5.2 x86_64 with kernel 2.6.18-92.el5. We have following configuration : /opt/intel/Compiler/11.0/069/ mkl/lib/em64t Now we want to install numpy and scipy as an user in my home directory. Following are the libraries build insid