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-19-2012 12:38 AM

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-19-2012 12:48 AM

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 06:28 AM

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

ESRogs 08-19-2012 11:44 AM

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

All times are GMT -7. The time now is 01:51 PM.

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