Hi Eric,

Why don't you use cProfile module to find slowest part of that code ?
Also KCacheGrind is cool if you like visual feedback.

Bartek Opatowiecki

W dniu 2013-05-31 00:44, Eric Thivierge pisze:

On Thu, May 30, 2013 at 6:35 PM, Alok Gandhi <[email protected] <mailto:[email protected]>> wrote:

    Maybe you can still get some optimization using numpy, I think.
    Throw your weights array directly into numpy. It is worth a try at
    least.


I'll give it a shot tomorrow. :)

--------------------------------------------
Eric Thivierge
http://www.ethivierge.com

Reply via email to