LFD Book Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2012, 11:38 PM
ESRogs ESRogs is offline
Member
 
Join Date: Jul 2012
Posts: 12
Default 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?
Reply With Quote
  #2  
Old 08-18-2012, 11:48 PM
patrickjtierney patrickjtierney is offline
Member
 
Join Date: Jul 2012
Location: Toronto, Canada
Posts: 33
Default 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.
Reply With Quote
  #3  
Old 08-19-2012, 05:28 AM
the cyclist the cyclist is offline
Member
 
Join Date: Jul 2012
Posts: 26
Default Re: Classification Error - HW6 Q2

Yes, use classification error for Q2-Q6.

Last edited by the cyclist; 08-19-2012 at 05:28 AM. Reason: Typo correction
Reply With Quote
  #4  
Old 08-19-2012, 10:44 AM
ESRogs ESRogs is offline
Member
 
Join Date: Jul 2012
Posts: 12
Default Re: Classification Error - HW6 Q2

Yeah, same here. Thanks!
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 04:15 PM.


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.