Week 3 - Train the model

Hello,

I just finished exercise 6 “compute_cost”, and got the “all tests passed” message. Then I moved on to the “Train the model” section that has a cell which is not labeled as “Graded function”, so I am assuming I don’t have to edit the code in it. After executing that cell, I get the error message below:

ValueError: No gradients provided for any variable: [‘Variable:0’, ‘Variable:0’, ‘Variable:0’, ‘Variable:0’, ‘Variable:0’, ‘Variable:0’].

Am I supposed to modify the content of that cell?

@AngeSurTerre
You have to provide your code inside this function between the lines mentioned below.
#YOUR CODE STARTS HERE
#YOUR CODE ENDS HERE

Apart from this, do not modify anything in the function.

1 Like