This is Course 1 of Neural Networks and Deep Learning, Week 4, Assignment 1:
5 - Cost Function¶
Now you can implement forward and backward propagation! You need to compute the cost, in order to check whether your model is actually learning.
I bolded the “and backward propagation” part because at this stage in the lab, I don’t think it’s technically true? At least as a student with my limited understanding, the functions that precede it are all about forward propagation and the creation of a cost function is necessary to carry out back propagation.
Not saying this as a glaring error but maybe that can be rewritten for clarity if people cares.
If I’m totally wrong and just looking or thinking about this the wrong way, I would appreciate the correction!
Just trying to be helpful!