J_history not enough input : assignment 2 ML gradient descent
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!