Re: [Numpy-discussion] ENH: softmax

2018-03-14 Thread Kulick, Johannes
Alright. Going for scipy.special then. Thanks for the quick answer. Cheers Johannes On 14.03.18, 19:03, "NumPy-Discussion on behalf of Marten van Kerkwijk" wrote: On Wed, Mar 14, 2018 at 9:44 AM, Hameer Abbasi wrote: > I possible, write it as a `gufunc`, so duck arrays can overri

[Numpy-discussion] ENH: softmax

2018-03-14 Thread Kulick, Johannes
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