While the Cost Function is working as expected (image attached) - the grade is rejecting the output (image attached). Please help.
The grader has indicated a fault in your function cofi_cost_func
, but you have posted the output of cofi_cost_func_v
.
There is no such error. Either way, both will result in the same value.
Please remove your code.
Thanks for your guidance, was able to resolve this.