Predict
This commit is contained in:
parent
31c4ac1967
commit
c0b4d95f75
1 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ p = zeros(m, 1);
|
|||
% You should set p to a vector of 0's and 1's
|
||||
%
|
||||
|
||||
p = sigmoid(X * theta) > 0.5;
|
||||
|
||||
|
||||
|
||||
|
|
Reference in a new issue