On Wed, Mar 14, 2018 at 1:41 AM, Robert Kern <robert.k...@gmail.com> wrote:
> On Wed, Mar 14, 2018 at 5:22 PM, Warren Weckesser < > warren.weckes...@gmail.com> wrote: > > > > On Wed, Mar 14, 2018 at 4:05 AM, Kulick, Johannes <jkkul...@amazon.de> > wrote: > >> > >> Hi, > >> > >> I regularly need the softmax function (https://en.wikipedia.org/ > wiki/Softmax_function) for my code. I have a quite efficient pure python > implementation (credits to Nolan Conaway). I think it would be a valuable > enhancement of the ndarray class. But since it is kind of a specialty > function I wanted to ask you if you would consider it to be part of the > numpy core (alongside ndarray.max and ndarray.argmax) or rather in scipy > (e.g. scipy.stats seems also an appropriate place). > > > > Johannes, > > > > If the numpy devs aren't interested in adding it to numpy, I'm pretty > sure we can get it in scipy. I've had adding it (or at least proposing > that it be added) to scipy on my to-do list for quite a while now. > > +1 for scipy.special. > scipy.special sounds right to me too Ralf
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion