LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 8 (http://book.caltech.edu/bookforum/forumdisplay.php?f=137)
-   -   *Answer* checking the answer of Q5 (http://book.caltech.edu/bookforum/showthread.php?t=4430)

eychen 10-05-2013 04:26 PM

*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?

cma61 11-23-2013 04:06 PM

Re: *Answer* checking the answer of Q5
Yes, I got the same numbers as you. And I think a is a better answer.

All times are GMT -7. The time now is 06:09 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, 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.