您的位置:首页 > 编程语言

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

2016-09-28 21:09 441 查看

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!

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐