LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 6 (http://book.caltech.edu/bookforum/forumdisplay.php?f=135)
-   -   Classification Error - HW6 Q2 (http://book.caltech.edu/bookforum/showthread.php?t=1046)

ESRogs 08-18-2012 11:38 PM

Classification Error - HW6 Q2
The reference to classification error in question 2 means that we should just count the number of misclassified points rather than summing the squared differences to calculate the total error, even though linear regression was used to perform the classifications, right?

patrickjtierney 08-18-2012 11:48 PM

Re: Classification Error - HW6 Q2
Yes, I believe so. I had implemented the squared error and was getting weird results, but when I switched to just taking the sign of X*w' and comparing that with Y, counting up the mismatches and dividing by the number of examples, then I got results that fit with the choices given in the question.

the cyclist 08-19-2012 05:28 AM

Re: Classification Error - HW6 Q2
Yes, use classification error for Q2-Q6.

ESRogs 08-19-2012 10:44 AM

Re: Classification Error - HW6 Q2
Yeah, same here. Thanks!

All times are GMT -7. The time now is 09:27 AM.

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.