LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 8

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2013, 05:26 PM
eychen eychen is offline
Junior Member
 
Join Date: Aug 2013
Posts: 7
Default *Answer* checking the answer of Q5

Dear all,

The posted answer key to Q5 (HW8) says the answer is "[d] maximum C achieves lowest Ein". However, the answer that comes out of my R program (using library e1071) is "[a] number of SV goes down as C goes up." Just want to make sure if any other people get my answer as well.

To be concrete, I got the following:
1. number of support vectors: 152 54 28 25
2. Ein: 0.007046765 0.004484305 0.004484305 0.004484305
3. Eout: 0.01886792 0.01886792 0.01886792 0.01886792

In other words: Eout remains constant as C goes up. Ein also remains unchanged in C=0.01,0.1,1.

While technically [d] can be correct (Eout is indeed "lowest" at C = 1, but is tied with C=0.01 and 0.1). Given that there is only one answer, maybe [a] is a better answer?
Reply With Quote
  #2  
Old 11-23-2013, 05:06 PM
cma61 cma61 is offline
Junior Member
 
Join Date: Nov 2013
Posts: 3
Default Re: *Answer* checking the answer of Q5

Yes, I got the same numbers as you. And I think a is a better answer.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:56 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.