1
0
Fork 0

Plot negative samples in red

This commit is contained in:
neingeist 2014-10-14 10:19:09 +02:00
parent c0b4d95f75
commit 224a17e4d3

View file

@ -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');
% ========================================================================= % =========================================================================