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

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!

 

转载于:https://www.cnblogs.com/luntai/p/5917978.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值