MLS_C3_W2_Practice_lab_1_Exerice_1 : "cofi_cost_func"

Hello everyone,
I have a problem with the implementation of the function cofi_cost_func in MLS_C3_W2_Practice_lab_1_Exerice_1. With my own code: several errors. But when I take the code “Click for hints” section, there are still errors.

Attention, I am at the first stage WITHOUT the term of regularization.
Help me please :slight_smile:
Regards,
Pierre

It looks like a test program checks the value “with regularization”. I think so far, you are OK. Can you go ahead ?

Sorry for making you confused.

Thank you for the answer.
After adding the regularization term, the test indeed works correctly.

Regards,

Pierre