In the assignment, when implement the no regularization formula I get correct results for the first output but not the regularized ones. when I do implement the regularizaiton formula, I get zero for the non-regularized term (which is expected actually since it multiplies all with 0) but the rest of the output is wro
Thanks for the feedback, I have been actually trying out different cost functions and this is just one of them since it was in the solutions. I think we need to add the regularization to the cost function as in the description formulas but that doesn’t work either, ie.