Re: [Numpy-discussion] EHN: Discusions about 'add numpy.topk'

2021-05-31 Thread Jonathan Fine
Here's my opinion, as a bit of an outsider. Mainly, I understand MAX to mean the largest value in a finite totally ordered set. I understand TOP to mean the 'best' member of a finite set. For example, on a mountain each point has a HEIGHT. There will be a MAX HEIGHT. The point(s) on the mountain t

Re: [Numpy-discussion] EHN: Discusions about 'add numpy.topk'

2021-05-31 Thread Ralf Gommers
On Sun, May 30, 2021 at 10:01 AM Matti Picus wrote: > > > Did this function come up at all in the array-API consortium dicussions? > It happens to be in this list of functions which was made last week: https://github.com/data-apis/array-api/issues/187. That list is potential next candidates, bas

Re: [Numpy-discussion] EHN: Discusions about 'add numpy.topk'

2021-05-31 Thread Ralf Gommers
On Sun, May 30, 2021 at 10:41 AM wrote: > > > > > > On Fri, May 28, 2021 at 4:58 PM > > wrote: > > > > Hi all, > > > > Finding topk elements is widely used in several fields, but missed > > in NumPy. > > I implement this functionality named as