J_history not enough input : assignment 2 ML gradient descent
1 view (last 30 days)
Show older comments
hiya, i have tried and tried with this code and continuously get output saying 'not enough input arguments' for either line m = length(y) or J_history = zeros(num_iters, 1) both lines written by Ng in the exercise. i am strughling to understand how to fix this, see the code i have used below. thank youuuu![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/707112/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/707112/image.png)
0 Comments
Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!