Re: [Numpy-discussion] Possible roadmap addendum: building better text file readers

2012-03-01 Thread Jay Bourque
*In an effort to build a consensus of what numpy's New and Improved text file readers should look like, I've put together a short list of the main points discussed in this thread so far:* * * 1. Loading text files using loadtxt/genfromtxt need a significant performance boost (I think at least an or

Re: [Numpy-discussion] Jaccard & Hamming Problem

2012-03-01 Thread josef . pktd
On Thu, Mar 1, 2012 at 10:10 AM, Zayd YAKOUBI wrote: > thank you very much, > In fact, the functions of these two measures are  for binary vectors, and I > have not found their extension to real data such as: 0.7, 0.9, 1.7 > Knowing that I applied to this data and it worked well.. > > Have an

[Numpy-discussion] Floating point "close" function?

2012-03-01 Thread Joe Kington
Is there a numpy function for testing floating point equality that returns a boolean array? I'm aware of np.allclose, but I need a boolean array. Properly handling NaN's and Inf's (as allclose does) would be a nice bonus. I wrote the function below to do this, but I suspect there's a method in n

Re: [Numpy-discussion] Numpy fitting

2012-03-01 Thread josef . pktd
On Thu, Mar 1, 2012 at 10:39 AM, Olivier Delalleau wrote: > Sorry I can't help, but I'd just suggest to post this on the scipy mailing > list as you may get more replies there. > > -=- Olivier > > Le 1 mars 2012 10:24, Pierre Barthelemy a écrit : >> >> Dear all, >> >> i am writing a program for d

Re: [Numpy-discussion] Numpy fitting

2012-03-01 Thread Olivier Delalleau
Sorry I can't help, but I'd just suggest to post this on the scipy mailing list as you may get more replies there. -=- Olivier Le 1 mars 2012 10:24, Pierre Barthelemy a écrit : > Dear all, > > i am writing a program for data analysis. One of the functions of this > program gives the possibility

[Numpy-discussion] Numpy fitting

2012-03-01 Thread Pierre Barthelemy
Dear all, i am writing a program for data analysis. One of the functions of this program gives the possibility to fit the functions. I followed the recipe described in : http://www.scipy.org/Cookbook/FittingData under the section "Simplifying the syntax"

[Numpy-discussion] Numpy fitting

2012-03-01 Thread Pierre Barthelemy
Dear all, i am writing a program for data analysis. One of the functions of this program gives the possibility to fit the functions. I therefore use the recipe described in : http://www.scipy.org/Cookbook/FittingData under the section "Simplifying the syn

Re: [Numpy-discussion] Jaccard & Hamming Problem

2012-03-01 Thread Zayd YAKOUBI
thank you very much, In fact, the functions of these two measures are for binary vectors, and I have not found their extension to real data such as: 0.7, 0.9, 1.7 Knowing that I applied to this data and it worked well.. Have an idea about the version of these functions for this type of data

Re: [Numpy-discussion] Jaccard & Hamming Problem

2012-03-01 Thread Warren Weckesser
On Thu, Mar 1, 2012 at 8:43 AM, Zayd YAKOUBI wrote: > Hello, > > I use the similarity measure "Jaccard" and "Hamming" of pckage > Scipy.spacial.cdist (Python) in a clustering context, I applied to given > typs of real and integer (0.6 0.2 1.7 May 8 ). They gave good results. But I > just know tha

[Numpy-discussion] Jaccard & Hamming Problem

2012-03-01 Thread Zayd YAKOUBI
Hello, I use the similarity measure "Jaccard" and "Hamming" of pckage Scipy.spacial.cdist (Python) in a clustering context, I applied to given typs of real and integer (0.6 0.2 1.7 May 8 ). They gave good results. But I just know that they normally only applies to binary data. The function of thes

Re: [Numpy-discussion] Numpy interpolate: cut through 2D matrix

2012-03-01 Thread Vincent Schut
On 03/01/2012 12:35 PM, Pierre Barthelemy wrote: > Hello, > > for a data analysis tool i am programming, i need to plot a cut through > a 2D graph. I then have a 2D array, and the indices > start=(start_x,start_y) and stop=(stop_x,stop_y) that are the position > of the starting point and stop point

[Numpy-discussion] Numpy interpolate: cut through 2D matrix

2012-03-01 Thread Pierre Barthelemy
Hello, for a data analysis tool i am programming, i need to plot a cut through a 2D graph. I then have a 2D array, and the indices start=(start_x,start_y) and stop=(stop_x,stop_y) that are the position of the starting point and stop point of the cut. The code i programmed is placed on the bottom.

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-03-01 Thread Richard Hattersley
+1 on the NEP guideline As part of a team building a scientific analysis library, I'm attempting to understand the current state of NumPy development and its likely future (with a view to contributing if appropriate). The proposed NEP process would make that a whole lot easier. And if nothing else

Re: [Numpy-discussion] IPython 0.12 just entered Debian Testing

2012-03-01 Thread Thomas Kluyver
On 1 March 2012 08:37, Pierre Haessig wrote: > Just to start the new month on a light & happy topic : > IPython 0.12 has entered Debian Testing ! > Thanks to Julian Taylor for handling Debian packaging. IPython 0.12 is also in the upcoming Ubuntu 12.04. Thomas ___

Re: [Numpy-discussion] Special matrices with structure?

2012-03-01 Thread Jaakko Luttinen
On 02/23/2012 03:50 PM, Jaakko Luttinen wrote: > Hi! > > I was wondering whether it would be easy/possible/reasonable to have > classes for arrays that have special structure in order to use less > memory and speed up some computations? > > For instance: > - symmetric matrix could be stored in al

[Numpy-discussion] IPython 0.12 just entered Debian Testing

2012-03-01 Thread Pierre Haessig
Hi, Just to start the new month on a light & happy topic : IPython 0.12 has entered Debian Testing ! -- Pierre (I'm not at all involved in the process that enabled IPython make its way to Testing. I've been watching this quite closely however. I "suspect" there was a decent amount of work on