am trying to submit computeCost code but am getting the below error on Octave anyone know how to solve it


octave:4> computeCost()
error: ‘y’ undefined near line 7 column 12
error: called from
computeCost at line 7 column 3

1 Like

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information. As you’ll notice, your Topic is now in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.