Calculate the loss and its gradient wrt the weights

Concluding our calculations from last time ...

In [5]:
from IPython.display import Image as ipdimage
ipdimage('20191113_160357_cropped.jpg',width=600)
Out[5]: