C1_W3_Logistic_Regression_Cost for initial value not matching

For my code (for compute cost), Cost at initial w (zeros): 0.007

Expected Output:
Cost at initial w (zeros): 0.693

Any help would be appreciated.

Sounds like there is an error in your code.

Carefully check that your code implements the equations correctly. Pay close attention to these items, they are common mistakes:

  • Where you use indentation. This defines the code blocks that are included in any for-loops.
  • Where you add the bias value ‘b’.
1 Like

Corrected the error problem solved,Thanks!!