Practice lab: course 1, week 3, exercise 2 AssertionError: Error in test

how can I resolve this problem: my output keeps rounding which does not match the expected output. and also keep running into AssertionError as below.

Hello @charles_data

There might be another problem with the logic.

Could you please DM (click on my name → click on message → attach your notebook) me your notebook and i can take a look.

Hello @charles_data

In Exercise 2, you have not been asked to do regularization. But you have done it.

Remove the regularization term from the cost and your solution should be fine.

Thank you. the problem has been solved.