Feeds
提问
I 'm trying to find the optimal solution for a logistic regression problem but I got that error 'fminunc stopped because the final change in function value relative to its initial value is less than the default value of the function tolerance.'
function [jval,gradient]= costFunction(Theta) x= load('data.txt'); X=[ones(length(x(:,1)),1),x(:,1),x(:,2)]; y= x(:,3); h = ...
7 years 前 | 0 个回答 | 0
0
个回答提问
Undefined function 'plus' for input arguments of type 'cell'.
Helllo I'm running the following code, when I don't enter values it works fine and returns the default values. but when I ente...
7 years 前 | 1 个回答 | 0