On Mon, Apr 7, 2014 at 5:12 PM, Björn Dahlgren wrote:
> Hello,
>
> Interleaving arrays is something I need to do every now and then, and by
> the looks of stackoverflow so do others:
>
>
> http://stackoverflow.com/questions/12861314/interleave-rows-of-two-numpy-arrays-in-python
> http://stackover
On Mon, Apr 21, 2014 at 3:13 AM, Eelco Hoogendoorn
wrote:
> As far as I can tell, [Theano] is actually the only tensor/ndarray aware
> differentiator out there
And AlgoPy, a tensor/ndarray aware arbitrary order automatic
differentiator (https://pythonhosted.org/algopy/)
_
On Thu, Mar 27, 2014 at 10:11 PM, Alex Goodman
wrote:
> Hi Robert,
>
> That did the trick, thanks!
>
> Alex
>
>
> On Thu, Mar 27, 2014 at 3:02 PM, Robert Kern wrote:
>
>> On Thu, Mar 27, 2014 at 8:50 PM, David Cournapeau
>> wrote:
>> >
>> > On Thu, Mar 27, 2014 at 8:30 PM, Alex Goodman <
>> alex.
Indeed this isn't numpy, and I don't see how your collegues opinions have
bearing on that issue; but anyway..
There isn't a 'python' way to do this, the best method involves some form
of parsing library. Undoubtly there is a one-line regex to do this kind of
thing, but regexes are themselves the a
I was going to suggest numdifftools; its a very capable package in my
experience. Indeed it would be nice to have it integrated into scipy.
Also, in case trying to calculate a numerical gradient is a case of 'the
math getting too bothersome' rather than no closed form gradient actually
existing: T