1
0
Fork 0

Plot negative samples in red

master
neingeist 10 years ago
parent c0b4d95f75
commit 224a17e4d3

@ -15,14 +15,7 @@ pos = find(y==1);
neg = find(y==0); neg = find(y==0);
plot(X(pos, 1), X(pos, 2), 'k+'); plot(X(pos, 1), X(pos, 2), 'k+');
plot(X(neg, 1), X(neg, 2), 'ko'); plot(X(neg, 1), X(neg, 2), 'ro');
% ========================================================================= % =========================================================================