|
| View previous topic :: View next topic |
| Author |
Message |
adam Data Mining Guru
Joined: 23 Jan 2008 Posts: 20
|
Posted: Thu Feb 07, 2008 4:11 pm Post subject: A probability question... |
|
|
| 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 |
|
 |
editor Site Admin
Joined: 04 Oct 2005 Posts: 120 Location: Boston, MA
|
Posted: Fri Feb 08, 2008 5:28 pm Post subject: Assigning cases to the target class |
|
|
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 |
|
 |
adam Data Mining Guru
Joined: 23 Jan 2008 Posts: 20
|
Posted: Fri Feb 08, 2008 5:35 pm Post subject: |
|
|
| So overall, 70.48% of my predictions would be accurate, but what percentage of my target predictions would be accurate? |
|
| Back to top |
|
 |
|
|
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
|
|
|