1-Change this code from Matlab to Phython: function plotData (X, y) figure; 3 4 hold on; 0) ; pos = find (y==1); neg = find (y plot (X (pos, 1), X (pos, 2), 'k+','Linewidth', 2, 'Markersize', 7); plot...


1-Change this code from Matlab to Phython:<br>function plotData (X, y)<br>figure;<br>3<br>4<br>hold on;<br>0) ;<br>pos = find (y==1); neg = find (y<br>plot (X (pos, 1), X (pos, 2), 'k+','Linewidth', 2, 'Markersize', 7);<br>plot (X (neg, 1), X (neg, 2), 'ko', 'MarkerFaceColor', 'y', 'MarkerSize', 7);<br>hold off;<br>end<br>==<br>8<br>9.<br>

Extracted text: 1-Change this code from Matlab to Phython: function plotData (X, y) figure; 3 4 hold on; 0) ; pos = find (y==1); neg = find (y plot (X (pos, 1), X (pos, 2), 'k+','Linewidth', 2, 'Markersize', 7); plot (X (neg, 1), X (neg, 2), 'ko', 'MarkerFaceColor', 'y', 'MarkerSize', 7); hold off; end == 8 9.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here