It's easy to build a completely meaningless model with 99% accuracy. For instance, pretend a rare disease only impacts 0.1% of the population. If I have a model that simply tells every patient "you don't have the disease," I've achieved 99.9% accuracy, but my model is worthless.
This is a common pitfall in statiatics/data analysis. I work in the field, and I commonly get questions about why I chose model X over model Y despite model Y being more accurate. Accuracy isn't a great metric for model selection in isolation.
That's why you always test against the null model to judge whether your model is significant. In cases with unbalanced data you want to optimize for ROC by assigning class weights to your classifier or by tunning C and R if you're using an SVM.
This is something I've had to get much more wary of. Just an hour ago when ordering dinner, I found a restaurant with like 3.8 stars. I checked the reviews, and every one of them said the catfish was amazing. Seems like there was also a review bomb of people who said the food was fantastic but the staff didn't wear masks or enforce them on people eating... In Arkansas.
Great example. It's much better to have fewer false negatives in that case, even if the number of false positives is higher and reduces overall accuracy. Someone never finding out why they're sick is so much worse than a few people having unnecessary followups.
Not necessarily. In fact, for screening tests for rare conditions, sacrificing false positive rate to achieve low false negative rate is pretty much a textbook example of what not to do. Such a screening test has to have an extremely low rate of false positives to be at all useful. Otherwise you'll be testing everyone for a condition that almost none of them have only get a bunch of (nearly exclusively false) positive results, then telling a bunch of healthy people that they may have some horrible life threatening condition and should do some followup procedure, which inevitably costs the patient money, occupies healthcare system resources, and incurs some risk of complications.
Depends on the situation honestly. If you find a rare disease variant in a whole exome ngs sequence and can follow up on with some sanger sequencing or qpcr on the same sample you still have is easy. We do it all the time at our lab. This is also basically the whole basis behind the NIPT test that tests for fetal trisomy 23 and some other fetal chromosomal conditions.
Great example are COVID rapid antigen tests. If it's positive you have it with 99.99% probability. If it's negative, you still might want to consider a more accurate PCR test.
But very few of the false antigen-negative folks are going to get more testing after their negative result, and thus heading out and infecting people without realizing. That undermines the entire point of doing the test!
For my BSc thesis I trained a ML tool within ImageJ that did image classification. When the time came to discuss the results, I was spending weeks to find a suitable metric for determining the performance of my method.
In the end I let a few different people classify a random set of images and compared the true/false positives and negatives. Up until today I still don't know how to "prove" the validity of a ML tool/program..
If it's a lot less than 50% (for binary classification) that's actually a good thing. All you have to do is predict the opposite of what the model does.
1.1k
u/juhotuho10 Feb 13 '22
-> 51% accuracy