LFD Book Forum  

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-19-2012, 04:28 PM
learnaholic learnaholic is offline
Join Date: Apr 2012
Posts: 22
Default hw2 q10: noise calculation on Eout?


I'm trying to figure out where I went wrong on #10, but I'm not getting it.

There's only one place I can think of where I went wrong and I want to see if this is the place because if so, I need an explanation.

So I calculated all my Eout points using the weights that I gathered from problem 9. I then calculated how many points were misclassified. I did this by calculating what the real value should be by using the target function. When I did this, I got approximately .032.

Now....the only thing I could think of as to where I went wrong was to use the target function that had some noise when producing the output. If I do this, I get something closer to .1.

I feel very uncomfortable with this answer, however. When I calculate my Eout, I really only care about what the actual target function should produce, not what a noisy target function produces. Why would I care about what a noisy target function produces? I only care if the value matched what the actual target function should produce without noise, no?

To use a real example: Let's say that the function given was the absolute truth for whether I should approve someone for credit. I then got a data set where 5% of the people that should have gotten credit didn't, and 5% of the people who shouldn't have gotten credit did. If I plugged these people into the target function, I would have found those 10% to be misclassified. Now, when I run my Eout, I don't know what the answer is, but because we preconceived this target function (which we wouldn't know in the real world), I can actually check to see how often my hypothesis was correct.

If this is where I went wrong, I hope I can get an explanation. If it's not where I went wrong, I'll keep digging, but I hope someone can provide an explanation as to what the program should look like.

Reply With Quote


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 10:35 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.