Final Assignment_Issues

Hi…! anyone who can help me in dealing these issue.?


Can you send me your code in a direct message and I’ll take a look.


You are having a problem with implementing the compute_cost_reg it’s implemented right but you have a problem with the return value.

My advice is to get back to the mathematical equation of the compute_cost_reg which can be found in the same notebook or lecture videos to compare your implementation with it.

J(\mathbf{w},b) = \frac{1}{2m} \sum\limits_{i = 0}^{m-1} (f_{\mathbf{w},b}(\mathbf{x}^{(i)}) - y^{(i)})^2 + \frac{\lambda}{2m} \sum_{j=0}^{n-1} w_j^2 \tag{1}


yes …I fixed it, thankyou so much