Support Vector Machines
I have the some issues to state. First, there were some bugs in original code which is caused by versions. I don ' t know ...
There is three pictures u need to draw a division boundary. The first calls ' VISUALIZEBOUNDARYLINEAR.M ' which is fine and the others which call ' visualizeboundary.m ' can not
Draw boundaries. So I check out this file and change the code ' contour (X1, X2, Vals, [0 0], ' Color ', ' B '); ' to ' Contour (X1, X2, Vals, [0.1 0.1], ' LineColor ', ' B '); ', then it turn out to work!
Second, It's fun-to-achieve the SVM for Spam-email filter. Everything about it's in ex6.pdf. U should learn more on this.
Finally, My code is also in Gitlab which the can click here to get it.
It's really fansinated to see all functions run in a correct way!
Coursera Public Lesson-machine_learing: Programming 6