LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 1 - The Learning Problem

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2014, 11:35 PM
LowEntropy LowEntropy is offline
Junior Member
 
Join Date: Sep 2014
Posts: 1
Default Problem 1.11

I guess I'm confused with how to apply the equation from the slides:


Ein = 1/N sum( e( h(x) , f(x) ) )

where e( h(x), f(x) ) == 1 or 0

To the problem with weighted cost values. Where do the weights from each possible choice fall into play in finding the in-sample error for the problem of classification? Thanks!
Reply With Quote
  #2  
Old 09-18-2014, 09:41 AM
magdon's Avatar
magdon magdon is offline
RPI
 
Join Date: Aug 2009
Location: Troy, NY, USA.
Posts: 595
Default Re: Problem 1.11

When h=f you would choose e(h,f)=0. When h\not= f you need to distinguish between the false positive and the false negative and administer an error (penalty) accordingly. That is where the risk matrix comes in. It tells you how to penalize the different errors.

Quote:
Originally Posted by LowEntropy View Post
I guess I'm confused with how to apply the equation from the slides:


Ein = 1/N sum( e( h(x) , f(x) ) )

where e( h(x), f(x) ) == 1 or 0

To the problem with weighted cost values. Where do the weights from each possible choice fall into play in finding the in-sample error for the problem of classification? Thanks!
__________________
Have faith in probability
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 07:27 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.