KDnuggets » Forums
Latest News



 FAQFAQ    SearchSearch    MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

A probability question...

 
Post new topic   Reply to topic    www.kdnuggets.com Forum Index -> Data Mining Beginners
View previous topic :: View next topic  
Author Message
adam
Data Mining Guru


Joined: 23 Jan 2008
Posts: 20

PostPosted: Thu Feb 07, 2008 4:11 pm    Post subject: A probability question... Reply with quote

My target class represents 18% of my dataset. If I were to just randomly classify cases to the target class, what % of my target predictions were be correct?
Back to top
View user's profile Send private message
editor
Site Admin


Joined: 04 Oct 2005
Posts: 120
Location: Boston, MA

PostPosted: Fri Feb 08, 2008 5:28 pm    Post subject: Assigning cases to the target class Reply with quote

If you assign all cases to the non-target class, you will be on the average 82% correct, but it will be a useless prediction.

If you assign cases to the target class with
18% probability, then the probability of one prediction being correct is
is 0.18*0.18 + 0.82*0.82 = 0.7048,
so you will get about 70.5% correct predictions.

Lesson - percent correct is not useful without associated cost of the wrong
prediction.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
adam
Data Mining Guru


Joined: 23 Jan 2008
Posts: 20

PostPosted: Fri Feb 08, 2008 5:35 pm    Post subject: Reply with quote

So overall, 70.48% of my predictions would be accurate, but what percentage of my target predictions would be accurate?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.kdnuggets.com Forum Index -> Data Mining Beginners All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KDnuggets » Forums

Copyright © 2012 KDnuggets.   Subscribe to KDnuggets News! Tweet Twitter | facebook Facebook | RSS RSS | About KDnuggets