码迷,mamicode.com
首页 > 系统相关 > 详细

Coursera公开课-Machine_learing:编程作业6

时间:2016-09-28 22:26:23      阅读:400      评论:0      收藏:0      [点我收藏+]

标签:

Support Vector Machines

  I have some issues to state. First, there were some bugs in original code which may be caused by versions. I don‘t know... 

  There are three pictures u need to draw a division boundary. The first calls ‘visualizeBoundaryLinear.m‘ which is fine, but 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 is in ex6.pdf. U should learn more about this.

  Finally, my code is also in gitlab which you can click here to get it.

  It is really fansinated to see all functions run in a correct way!

技术分享

 

Coursera公开课-Machine_learing:编程作业6

标签:

原文地址:http://www.cnblogs.com/luntai/p/5917978.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!