Re: [Numpy-discussion] ENH: ratio function to mimic diff

2017-07-29 Thread Joseph Fox-Rabinovitz
On Jul 29, 2017 12:55, "Nathaniel Smith" wrote: I'd also like to see a more detailed motivation for this. And, if it is useful, then that would make 3 operations that have special case pairwise moving window variants (subtract, floor_divide, true_divide). 3 is a lot of special cases. Should ther

Re: [Numpy-discussion] ENH: ratio function to mimic diff

2017-07-29 Thread Joseph Fox-Rabinovitz
On Jul 29, 2017 12:23, "Stephan Hoyer" wrote: This is an interesting idea, but I don't understand the use cases for this function. In particular, what would you use n-th order ratios for? There is no good use case for the nth order differences that I am aware of. I just added that to mimic the

Re: [Numpy-discussion] ENH: ratio function to mimic diff

2017-07-29 Thread Nathaniel Smith
I'd also like to see a more detailed motivation for this. And, if it is useful, then that would make 3 operations that have special case pairwise moving window variants (subtract, floor_divide, true_divide). 3 is a lot of special cases. Should there instead be a generic mechanism for doing this fo

Re: [Numpy-discussion] ENH: ratio function to mimic diff

2017-07-29 Thread Stephan Hoyer
This is an interesting idea, but I don't understand the use cases for this function. In particular, what would you use n-th order ratios for? One use case I can think of is estimating the slope of a log-scaled plot. But here exp(diff(log(x))) is an easy substitute. I guess ratio() would work in c

Re: [Numpy-discussion] Dropping support for Accelerate

2017-07-29 Thread Ilhan Polat
If it can confuse you, imagine what would happen to regular users like me. That's why I wanted to mention this in advance that this also needs some sort of a "No this is not related to Anaconda Accelerate" disclaimer at some place if need be. ___ NumPy-Di

Re: [Numpy-discussion] Dropping support for Accelerate

2017-07-29 Thread Matthew Brett
On Sat, Jul 29, 2017 at 11:34 AM, Matthew Brett wrote: > Hi, > > On Sat, Jul 29, 2017 at 11:26 AM, Ilhan Polat wrote: >> Yet another twirl to the existing spaghetti >> >> https://www.continuum.io/blog/developer-blog/open-sourcing-anaconda-accelerate >> > > Just to avoid some obvious confusion, An

Re: [Numpy-discussion] Dropping support for Accelerate

2017-07-29 Thread Matthew Brett
Hi, On Sat, Jul 29, 2017 at 11:26 AM, Ilhan Polat wrote: > Yet another twirl to the existing spaghetti > > https://www.continuum.io/blog/developer-blog/open-sourcing-anaconda-accelerate > Just to avoid some obvious confusion, Anaconda Accelerate is nothing to do with macOS Accelerate: """ Accel

Re: [Numpy-discussion] Dropping support for Accelerate

2017-07-29 Thread Ilhan Polat
Yet another twirl to the existing spaghetti https://www.continuum.io/blog/developer-blog/open-sourcing-anaconda-accelerate On Tue, Jul 25, 2017 at 4:23 PM, Matthew Brett wrote: > On Tue, Jul 25, 2017 at 3:14 PM, Nathaniel Smith wrote: > > On Tue, Jul 25, 2017 at 7:05 AM, Matthew Brett > w