1
0
Fork 0

Add prediction function for one-vs-all classification

master
neingeist 10 years ago
parent cf0d25440c
commit 3bf3d9fdc3

@ -30,11 +30,8 @@ X = [ones(m, 1) X];
% for each row.
%
[~, p] = max(X * all_theta', [], 2);
%disp(size(p));
% =========================================================================