UNQ_C2 wasn't found in code

I’m having an error when submit my C1_W3_Logistic_Regression code. All the tests passes, but when I submit, my grade is zero with this error: UNQ_C2 wasn’t found in code.

I don’t know if I accidentally deleted an import cell from Jupyter Notebook or something like that. Can you help me?

Hi Victor! Try adding ‘# UNQ_C2’ as a comment at the beginning of the ‘# GRADED FUNCTION: compute_cost’ cell. Remember that you are only supposed to edit the text between ### START CODE HERE ### and ### END CODE HERE ###.

I think the cell must start as follow:
# UNQ_C2
# GRADED FUNCTION: compute_cost
def compute_cost(X, y, w, b, lambda_= 1):
...

If this doesn’t help we can review the problem more in detail.
Cheers,

2 Likes

Thank you so much, Enzo!! :smiley:

1 Like