The definition of the `sigmoid_derivate` function (core.py:26) is missing `a*`. Although it doesn’t make a huge difference, since `a` is normally set to 1.