Plot negative samples in red
This commit is contained in:
parent
c0b4d95f75
commit
224a17e4d3
1 changed files with 1 additions and 8 deletions
|
@ -15,14 +15,7 @@ pos = find(y==1);
|
|||
neg = find(y==0);
|
||||
|
||||
plot(X(pos, 1), X(pos, 2), 'k+');
|
||||
plot(X(neg, 1), X(neg, 2), 'ko');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
plot(X(neg, 1), X(neg, 2), 'ro');
|
||||
|
||||
% =========================================================================
|
||||
|
||||
|
|
Reference in a new issue