initial commit

This commit is contained in:
2017-05-28 06:49:48 +09:00
commit b4c0085bfb
26 changed files with 3690 additions and 0 deletions

29
ex2/plotData.m Normal file
View File

@@ -0,0 +1,29 @@
function plotData(X, y)
%PLOTDATA Plots the data points X and y into a new figure
% PLOTDATA(x,y) plots the data points with + for the positive examples
% and o for the negative examples. X is assumed to be a Mx2 matrix.
% Create New Figure
figure; hold on;
% ====================== YOUR CODE HERE ======================
% Instructions: Plot the positive and negative examples on a
% 2D plot, using the option 'k+' for the positive
% examples and 'ko' for the negative examples.
%
% =========================================================================
hold off;
end