Python-based neural network with backprop using numpy/scipy