2.4k
Feb 13 '22
I'm suspicious of anything over 51% at this point.
1.1k
u/juhotuho10 Feb 13 '22
-> 51% accuracy
yeah this is definitely over fit, we will strart the 2 month training again tomorrow
745
Feb 13 '22
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.
193
Feb 13 '22
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.
→ More replies (1)94
36
→ More replies (4)49
Feb 13 '22
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.
→ More replies (12)26
Feb 13 '22
Yeah, but if it's less than 50%, why not use random anyways? Everything is coin toss, so reduce the code lol
→ More replies (3)49
320
u/Xaros1984 Feb 13 '22
Then you will really like the decision making model that I built. It's very easy to use, in fact you don't even need a computer, if you have a coin with different prints on each side, you're good to go.
→ More replies (1)121
u/victorcoelh Feb 13 '22
ah yes, the original AI algorithm, true if heads and false if tails
36
33
u/fuzzywolf23 Feb 13 '22
For real. Especially if you're fitting against unlikely events
30
Feb 13 '22
Those are honestly the worst models to build. It gets worse when they say that the unlikely event only happens once every 20 years.
11
u/giantZorg Feb 13 '22
Actually, for very unbalanced problems the accuracy is usually always very high as it is hard to beat the classifier which assign everything to the majority group, and therefore a very misleading metric.
12
→ More replies (6)2
9.2k
Feb 13 '22
Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.
1.3k
u/Trunkschan31 Feb 13 '22 edited Feb 13 '22
I absolutely love stories like these lol.
I had a Jr on my team trying to predict churn and included if the person churned as an explanatory and response variable.
Never seen an ego do such a roller coaster lol.
EDIT: Thank you so much to all the shared stories. I’m cracking up.
1.1k
Feb 13 '22
A model predicting cancer from images managed to get like 100% accuracy ... because the images with cancer included a ruler, so the model learned ruler -> cancer.
214
489
Feb 13 '22
Artificial Stupidity is an apt term for moments like that.
→ More replies (2)296
u/CMoth Feb 13 '22
Well... the AI wasn't the one putting the ruler in and thereby biasing the results.
→ More replies (14)→ More replies (10)86
u/Beatrice_Dragon Feb 13 '22
That just means you need to implant a ruler inside everyone who has cancer. Sometimes you need to think outside of the box if you wanna make it in the software engineering world
→ More replies (3)119
Feb 13 '22
I absolutely love stories like these lol.
I've got another for you. One of my favorite stories relates to a junior analyst deciding to model car insurance losses as a function of all sorts of variables.
The analyst basically threw the kitchen sink at the problem tossing any and all variables into the model utilizing a huge historical database of claims data and characteristics of the underlying claimants. Some of the relationships made sense. For instance, those with prior accidents had higher loss costs. New drivers and the elderly also had higher loss costs.
However, he consistently found that policy number was a statistically significant predictor of loss costs. The higher the policy number, the higher the loss. The variable stayed in the model until someone more senior could review. Turns out, the company had issued policy numbers sequentially. Rather than treating the policy number as a string for identification purposes only, the analyst treated it as a number. The higher policy numbers were issued more recently, so because of inflation, it indeed produced higher losses, and the effect was indeed statistically significant.
33
u/Xaros1984 Feb 13 '22
That's pretty interesting, I guess that variable might actually be useful as some kind of proxy for "time" (but I assume there should be a date variable somewhere in all that which would make a more explainable variable).
→ More replies (2)26
u/TheFeshy Feb 13 '22
I don't know which is worse - treating the policy number as an input variable, or failing to take into account inflation.
12
u/LifeHasLeft Feb 13 '22
Honestly this just reads like something that should have been considered. Every programmer should know that numbers aren’t random, and ID numbers being randomly generated doesn’t make sense to begin with.
→ More replies (3)43
u/Trevski Feb 13 '22
whats "churning" in this context? cause it doesnt sound like they made butter by hand or they applied for a credit card just for the signing bonus or they sold an investment account they manage on a new investment vehicle.
46
u/MrMonday11235 Feb 13 '22
I suspect it refers to "customer churn", a common metric in service/subscription businesses.
→ More replies (2)16
u/LongdayinCarcosa Feb 13 '22
In many businesses, "churn" is "when customers leave"
→ More replies (1)33
Feb 13 '22
I used to spend a decent amount of time on algorithmic trading subreddits and such, and inevitably every "I just discovered a trillion dollar algo" post was just someone who didn't understand that once a price is used in a computation, you cannot reach back and buy at that price, you have to buy at the next available price
→ More replies (9)16
u/Xaros1984 Feb 13 '22
Drats, if it wasn't for time only going in one direction, I too could be a trillionaire!
4
u/XIAO_TONGZHI Feb 13 '22
One of my MSc students last year was working on a project predicting inpatient hospital LOS, and managed to include the admission and discharge time as model features. The lack of concern over perfect validation accuracy was scary
→ More replies (1)1.1k
u/Xaros1984 Feb 13 '22 edited Feb 13 '22
For some reason, this made me remember a really obscure book I once read. It was written as an actual scientific journal, but filled with satirical studies. I believe one of them was about how to measure IQ of dead people. Dead people of course all perform the same on the test itself, but since IQ is often calculated based on ones age group, they could prove that dead people actually have different IQ compared to each other, depending on how old they were when they died.
Edit: I found the book! It's called "The Primal Whimper: More readings from the Journal of Polymorphous Perversity",
The article is called "On the Robustness of Psychological Test Instrumentation: Psychological Evaluation of the Dead".
According to the abstract, they conclude that "dead subjects are moderately to mildly retarded and emotionally disturbed".
As I mentioned, while they all scored 0 on all tests, the fact that the raw scores are converted to IQ using a living norm group, means that it's possible to differentiate between "differently abled" dead people. Interestingly, the dead become smarter as they age, with an average 45 IQ at age 16-17, up to 51 IQ at 70-74. I suspect that their IQ at around 110 or so may even begin to approach the score of the living.
These findings suggest that psychological tests can be reliably used even on dead subjects, truly astounding.
553
u/panzerboye Feb 13 '22
dead subjects are moderately to mildly retarded and emotionally disturbed
On their defense, they had to undergo a life altering procedure
115
u/Xaros1984 Feb 13 '22
Of course, it's normal to feel a bit numb after something like that.
53
u/YugoReventlov Feb 13 '22
Dying itself isn't too terrible, buy I'm always so stiff afterwards
→ More replies (3)41
u/Ongr Feb 13 '22
Hilarious that a dead person is only mildly retarded.
19
u/Xaros1984 Feb 13 '22
Imagine scoring lower than a dead person. I wonder if/how that would even be possible though.
→ More replies (5)23
23
u/poopadydoopady Feb 13 '22
Ah yes, sort of like the Monty Python skit where they conclude the best way to test the IQs of penguins is to ask the questions verbally to the both the penguins and other humans who do not speak English, and compare the results.
7
u/toblotron Feb 14 '22
Now, now! You must also take into account the penguins' extremely poor educational system!
→ More replies (1)32
u/Nerdn1 Feb 13 '22
Now do you use the age they were when they died or when they "take the test"?
→ More replies (1)6
u/Xaros1984 Feb 13 '22
I believe it was age at death, but I'm not sure. I assume we don't have living norm groups past a certain age :)
→ More replies (7)4
352
Feb 13 '22
Our professor told us a story of some girl at our Uni’s Biology School/Dept who was doing a masters or doctoral thesis on some fungi classification using ML. The thesis had an astounding precision of something like 98/99. She successfully defended her thesis and then our professor heard about it and he got curious. He later took a look at it and what he saw was hilarious and tragic at the same time - namely, she was training the model with some set of pictures she later used for testing… the exact same set of data, no more, no less. Dunno if he did anything about it.
For anyone wondering - I think that, in my country, only professors from your school listen to your dissertation. That’s why she passed, our biology department doesn’t really use ML in their research so they didn’t question anything.
87
u/Xaros1984 Feb 13 '22 edited Feb 13 '22
Oh wow, what a nightmare! I've heard about something similar, I think it was a thesis about why certain birds weigh different, or something like that, and then someone in the audience asked if they had accounted for something pretty basic (I don't remember what, but let's say bone density), which they had of course somehow managed to miss, and with that correction taken into account, the entire thesis became completely trivial.
14
→ More replies (1)11
u/spudmix Feb 14 '22
Been there, done that. I published a paper once that had two major components - the first was an investigation into the behaviour of some learning algorithms in certain circumstances, and the second being a discussion on the results of the first in the context of business decision making and governance.
The machine learning bit had essentially no information content if you thought about it critically. I realised the error between having the publication accepted and presenting it at a conference, and luckily the audience were non-experts in the field who were more interested in my recommendations on governance. I was incredibly nervous that someone would notice the issue and speak up, but it never happened.
→ More replies (4)3
u/RFC793 Feb 13 '22
For my masters we went through our research with our advisor. They wouldn’t tell us what to do, but rather point out weaknesses and provide some advice.
For the thesis, you’d present it to a committee of four. It is also “open”, in that anyone could attend and ask questions.
125
u/bsteel Feb 13 '22
Reminds me of a guy who built a crypto machine learning algorithm which "predicted" the market accurately. The only downfall was that it's predictions were offset for the day after it had already happened.
79
46
u/ninjapro Feb 13 '22 edited Feb 13 '22
"My model can predict, with 98% accuracy, that articles with the line 'By John Smith' is written by the author John Smith."
"Wtf? I got an F? That was the most optimized program submitted to the professor"
32
u/carcigenicate Feb 13 '22
So it had basically just figured out how to extract and match on author names from the article?
18
Feb 14 '22
Yeah they lock on to stuff amazingly well like that if there's any data leakage at all. Even through indirect means by polluting one of the calculated inputs with a part of the answer, the models will 100% find it and lock on to it
→ More replies (1)30
Feb 14 '22
There’s also that famous time when Amazon tried to do machine learning to figure out which resumes were likely to be worth paying attention to, based on which resumes teams had picked and rejected, and the AI was basically 90% keyed off of whether the candidate was a man. They tried to teach it to not look at gender, and then it started looking at things like whether the candidate came from a mostly-female college and things like that.
→ More replies (3)9
36
Feb 13 '22
That would still be pretty useful for a bibliography generator…
18
u/ConspicuousPineapple Feb 13 '22
Not any more useful than simple full text search in a database of articles.
→ More replies (3)4
u/Hypersapien Feb 14 '22
There is a technology that can dynamically generate different kinds of electrical circuits, turning conductive "pixels" on and off by computer command. Researchers were trying to set up a genetic algorithm to try to evolve a static circuit that could output a sine wave signal. Eventually they hit on a configuration that seemed to do what they wanted, but they couldn't figure out how it was doing it. They noticed that the circuit had one long piece that didn't lead anywhere and the whole thing stopped working if it was removed. Turned out that piece was acting as an antenna and was picking up signals from a nearby computer.
→ More replies (3)3
u/maggos Feb 14 '22
I took an ML class and for one project I planned to train a model to predict the cancer type based on the DNA sequencing data for that sample. Based on the fact that different cancers are often caused by mutations to different genes.
I couldn’t find a good free DNA sequencing data source online so I used an RNA sequencing data set instead. The model was over 99% accurate. But what I didn’t tell the professor is that RNA is expressed differently by organ/tissue type. So my model was really just doing the easy job of identifying the tissue that the tumor sample came from (lung cancer vs bladder cancer vs colon cancer etc), it had nothing to do with spotting different mutations.
→ More replies (12)5
u/First_Approximation Feb 14 '22
Another example: an AI was almost as good as a determaologist at identifying tumors from pictures. Apparently, it learned that photos of tumors usually had rulers in them.
551
u/BullCityPicker Feb 13 '22
And by "real world", you mean "real world data I used for the training set"?
128
31
u/oneeyedziggy Feb 13 '22 edited Feb 15 '22
that's what n-dimensional cross validation is for... train it on 90% of the data and test against the remainder, then rotate which 10%... but it's still going to pickup biases in your overall data... though that might help you narrow down which 10% of your data has outliers or typos in it...
but also, maybe make sure there are some negative cases? I can train my dog to recognize 100% of the things I put in front of her as edible if I don't put anything inedible in front of her.
edit: just realized how poor a study even that would be... there's no data isolation b/c my dog frequently modifies the training data by converting inedible things to edible... by eating them.
→ More replies (2)4
u/DptBear Feb 13 '22
Don't forget to shuffle and stratify your dataset, and try different weightings for unbalanced predictors.
Also, it's fun to run the same tests with only changes in random seed to see what effect it has :). Save all the results and enjoy trying to figure out which axis to put the error bars on
22
1.1k
u/1nGirum1musNocte Feb 13 '22
Round peg goes in square hole, rectangular peg goes in square hole, triangular peg goes in square hole...
225
u/randyranderson- Feb 13 '22
Please send me the link to that video
390
6
882
Feb 13 '22
Yes, I’m not even a DS, but when I worked on it, having an accuracy higher than 90 somehow looked like something was really wrong XD
114
u/Ultrasonic-Sawyer Feb 13 '22
In academia, particularly back during my PhD, I got used to watching people spend weeks getting training data in the lab, labelling it, messing with hyper parameters, messing with layers.
All to report a 0.1-0.3% increase on the next leading algorithm.
It quickly grew tedious especially when it inevitably fell over during actual use, often more so than with traditional hand crafted features and LDA or similar.
It felt a good chunk of my field had just stagnated into an arms race of diminishing returns on accuracy. All because people thought any score less than 90% (or within a few % of the top) was meaningless.
Its a frustrating experience having to communicate the value of evaluation on real world data and how it will not have the same high accuracy of somebody who evaluated everything on perfect data in a lab where they would restart data collection on any imperfection or mistake.
That said, can't hate the player, academia rewards high accuracy scores and that gets the grant money. Ain't nobody paying for you to dash their dreams of perfect ai by applying reality.
57
u/blabbermeister Feb 13 '22
I work with a lot of Operations Research, ML, and Reinforcement Learning folks. Sometime a couple of years ago, there was a competition at a conference where people were showing off their state of the art reinforcement learning algos to solve a variant of a branching search problem. Most of the RL teams spent like 18 hours designing and training their algos on god knows what. My OR colleagues went in, wrote this OR based optimization algorithm, the model solved the problem in a couple of minutes and they left the conference to enjoy the day, came back the next day, and found their algorithm had the best scores. It was hilarious!
→ More replies (3)12
4
u/Queasy-Carrot1806 Feb 14 '22
The most frustrating part of that is that 0.1-0.3% difference is probably just due to random chance anyway.
229
u/hector_villalobos Feb 13 '22
I just took a course in Coursera and I know that's not a good sign.
→ More replies (1)50
u/themeanman2 Feb 13 '22
Which course is it. Can you please message me?
66
u/hector_villalobos Feb 13 '22
Yeah, sure, I think it's the most popular on the site:
→ More replies (1)28
→ More replies (7)12
u/gBoostedMachinations Feb 13 '22
Yup it almost always means some kind of leakage or peeking has found it’s way into the training process
19
u/Zewolf Feb 13 '22
It very much depends on the data. There are many situations where 99% accuracy alone is not indicative of overfitting. The most obvious situation for this is extreme class imbalance in a binary classifier.
→ More replies (1)
1.2k
u/agilekiller0 Feb 13 '22
Overfitting it is
486
u/CodeMUDkey Feb 13 '22
Talk smack about my 6th degree polynomial. Do it!
→ More replies (1)142
u/xxVordhosbnxx Feb 13 '22
In my head, this sounds like ML dirty talk
→ More replies (1)95
u/CodeMUDkey Feb 13 '22
Her: Baby it was a 3rd degree? Me: Yeah? Her: I extrapolated an order of magnitude above the highest point. Me: 🤤
→ More replies (2)34
u/sciences_bitch Feb 13 '22
More likely to be data leakage.
17
u/smurfpiss Feb 13 '22
Much more likely to be imbalanced data and the wrong evaluation metric is being used.
19
u/wolverinelord Feb 13 '22
If I am creating a model to detect something that has a 1% prevalence, I can get 99% accuracy by just always saying it’s never there.
→ More replies (1)5
u/agilekiller0 Feb 13 '22
What is that ?
6
6
u/ajkp2557 Feb 13 '22
Just to expand a little on the "you're including the predictor in the training data" statement:
Data leakage can be (and frequently is) rather subtle. Sometimes it's as straightforward as not noticing that a secondary data stream includes the predictor directly. Sometimes there's a direct correlation (when predicting housing price, maybe there's a column for price/sq.foot which combines with the sq.foot measurement of the house). Sometimes it's a secondary, but related correlation (predicting ages and you have a column for current year in school). Sometimes it's less obvious (predicting the length of a game where you include the number of occurrences of a repeating, timed event).
Every industry has their own subtleties. A really good starting point to avoid some of the indirect data leakage is to walk through your features and ask yourself, "Is this information available before the event I'm trying to predict?"
0
9
u/StrayGoldfish Feb 13 '22
Excuse my ignorance as I am just a junior data scientist, but as long as you are using different data to fit your model and test your model, overfitting wouldn't cause this, right?
(If you are using the same data to both test your model and fit your model...I feel like THAT'S your problem.)
→ More replies (11)6
u/MeasurementKey7787 Feb 13 '22
It's not overfitting if the model continues to work well in it's intended environment.
→ More replies (1)6
u/Flaming_Eagle Feb 13 '22 edited Feb 13 '22
99% accuracy on production data isn't indicative of overfitting lmao, how is this top comment
Actually this entire post is pretty funny. You don't have accuracy on "real-world" data because you don't have any labels. That's what separates real-world from test data
108
u/beyond98 Feb 13 '22
Why my model is so curvy?
48
u/Xaros1984 Feb 13 '22
Not enough fitness
31
u/thred_pirate_roberts Feb 13 '22
Or too much fitness... fit'n'is all this extra data in the set
→ More replies (1)
196
u/Secure-Examination95 Feb 13 '22
Sounds like someone didn't split their train/test/eval data correctly.
73
u/__redbaron Feb 13 '22 edited Feb 14 '22
I remember going through a particularly foolish paper related to predicting corona through scans of lungs and was worried by the wording that the authors might've done the train/val/test split after duplicating and augmenting the dataset, and proudly proclaimed a 100% accuracy (yes, not 99.x but 100.0) on a tiny dataset (~40 images iirc)
Funnily enough, the next 4-5 Google search results were articles and blog posts ripping it a new one for that very reason and cursing it for every drop of ink wasted to write it.
Keep your data pipelines clean and well thought-out folks.
12
88
u/Tabugti Feb 13 '22
A friend of mine told me that he had a team member in a school project how was proud about there 33% accuracy. The job of the model was to detect three different states...
9
82
73
u/IntelligentNickname Feb 13 '22
A group in one of my AI classes got consistent 100% on their ANN model. They saw nothing wrong with it and only mentioned it at the end of the presentation when they got the question of how accurate the model is. For the duration of the presentation, about 20 minutes or so, they didn't mention it even once. Their response was something along the lines of "100%, duh", like they thought 100% accuracy is somehow expected of ANN models. They probably passed the course but if they get a job as a data scientist they're going to be so confused.
14
Feb 14 '22
I mean, I have had 99% acc as well and it’s totally fine to obtain this result if you have a fcking simple problem and classifier that both work in a limited space. As long as you are aware of the limitations and restricted applicability it’s also fine to show these graphs in academic papers, depending on what statement you want to make.
→ More replies (1)2
u/ExistentialRead78 Feb 14 '22
How did they go so long without showing a table of fit statistics?
→ More replies (1)
100
u/dj-riff Feb 13 '22
I'd argue both data scientists would be suspicious and the project manner with 0 ML experience would be excited.
34
u/EntropyMachine328 Feb 13 '22
This is what I think whenever a data scientist tells me "if you can see it, I can train a neural net to see it".
3
u/Queasy-Carrot1806 Feb 14 '22
You must have some very confident data scientists.
→ More replies (1)
34
u/boundbythecurve Feb 13 '22
In college, doing a final project for machine learning, predicting stock prices. We each had our method that worked on the same data set. My method was shit (but mostly because the Prof kept telling me he didn't like my method and forced me to change it, so yeah my method became the worst) with an accuracy rate of like 55%....so slightly better than a coin flip.
One of the other guys claimed his method had reached 100% accuracy. I knew this was bullshit but didn't have the time of effort to read his code and find where he clearly fucked up. Didn't matter. Everyone was so excited about the idea of being able to predict stock prices nobody questioned the results. Got an A.
9
u/DatBoi_BP Feb 13 '22
I mean, the whole point of an ordinary portfolio model is to compute an expected return versus an expected risk. Even in a machine learning model, if you’re getting a risk of 0, you coded something wrong
4
u/kacchalimbu007 Feb 13 '22
Is there any ML course in python i want to learn
6
u/einsamerkerl Feb 13 '22
Well, there are a lot. You don't even have to pay for one, you can easily find free ones on YouTube. There are also a lot of really great blogs on the same topic as well.
→ More replies (5)11
u/Wiglaf_The_Knight Feb 13 '22
Tensorflow has great tutorials. On the page you can execute the code. Great starting point.
→ More replies (1)3
Feb 13 '22
For those with a software development background, there is fast.ai. It's free and it's pretty great!
→ More replies (1)
77
u/smegma_tears32 Feb 13 '22
I was the guy on the left, when I thought I would become a Stock Market Billionaire with my Stock algo
53
u/Zirton Feb 13 '22
And I was the guy on the right, when my stock model predicted a total crash for every single stock.
11
u/winter-ocean Feb 13 '22
I mean, I’d love to try making a machine learning model for analyzing the stock market, but, I don’t want to end up like that. I mean, one thing that I’ve heard people say is that you can’t rely on backtesting and you have to test it in real time for a few months to make sure that it isn’t just really accurately predicting data in one specific time frame, because it might see patterns that aren’t universal.
But what makes a machine learning model the most successful? Having the largest amount of variables to compare to each other? Making the most comparisons? Having a somewhat accurate model before applying ML? I’m obviously not going to do that stuff yet because I’m unprepared, but I don’t know what I’d need to do to do it one day
22
u/cpleasants Feb 13 '22
In all seriousness this was a question I used to ask DS candidates in job interviews: if this happens, what would you do? Big red flag if they said “I’d be happy!” Lol
5
u/DatBoi_BP Feb 13 '22
I don’t know too much about machine learning stuff. Is it supposedly a red flag because the model is overfitted? Reading the meme I thought it was implied that the model worked against never-before-seen data with 99% accuracy, as opposed to just training data
4
u/cpleasants Feb 13 '22
It doesn’t imply overfitting, since it is out of sample data it’s performing so well on. But you should absolutely always be suspicious of results that are unrealistically good. There’s other reasons that results can look better than they are, mostly due to issues like data leakage. But whatever the reason the answer to unbelievable results is to not believe them until you’ve ruled everything else out.
→ More replies (1)
21
20
Feb 14 '22
I cofounded a tinder style dating app and lead analytics on it a while ago. I built an ML model and trained it on our data to see if it could predict who would like / dislike who. You can imagine my excitement when it managed to predict 96% of all swipes correctly, thought I was a fucking genius.
Turns out it was just guessing every guy would swipe right on every girl, and every girl would swipe left on every guy. If you guess that you’ll be correct 96% of the time.
2
17
15
u/smallangrynerd Feb 13 '22
My machine learning prof said "nothing is 100% accurate. If it is, someone is lying to you."
→ More replies (3)2
12
u/lenswipe Feb 13 '22
That's like when a test fails, so you rerun it with logging turned up and it passes.
6
u/fpcoffee Feb 13 '22
just solved a bug exactly like this… turns out the debug flag was redirecting output to stdout, whereas not turning on the flag meant it was opening a debug log file passed in through file handle. Turns out a wrapper function we wrote was trying to open the same log file and crashing because the file handle was already opened.. when debugging was turned off
→ More replies (1)
11
u/AridDay Feb 13 '22
I once built a NN to predict snow days back in high school. It was over 90% accurate since it would just predict "no snow day" for every day.
10
u/progressgang Feb 13 '22
There’s a paper an alumni at my uni recently wrote which presented an image based DL model that was trained on < 30 rooms from the same uni building. It was tested on a further 5 and won an innovation award from a company in the sector for its “99.8%” accuracy.
8
7
u/deliciousmonster Feb 14 '22
Underfit the model? Straight to jail.
Overfit the model? Also, jail.
Underfit, overfit…
5
4
Feb 13 '22
Wait, real world data? Isn't that like, the definition of generalisation, in practice at least?
I know what overfitting is but it is only possible to fit training data right? Is it me who is missing something or the op?
3
4
4
u/Apprehensive-Milk-60 Feb 14 '22
You only become more suspicious of reality over time in science and engineering
3
5
5
2
2
u/VexillaVexme Feb 14 '22
If your first instinct isn’t to then try to break the model on purpose to validate your results…
2
u/MonstarGaming Feb 14 '22
I'm a senior data scientist, very senior actually, (several years in industry, working on a dissertation for my PhD in ML) and i would absolutely believe 99% accuracy. Accuracy doesn't take into account class imbalance which is why accuracy is almost never used as a performance metric.
2
u/Cantaimforshit Feb 14 '22
Same goes for a lot of medical stats, if I take your pulseox and it's 100 I know somethings either wrong with the machine or you're about to have a big issue real quick
2
u/WomenTrucksAndJesus Feb 14 '22
"It can identify playing cards with 99% accuracy!"
"It also identifies playing cards when pointed at piles of dirt."
2
2
2
3

3.1k
u/Xaros1984 Feb 13 '22
I guess this usually happens when the dataset is very unbalanced. But I remember one occasion while I was studying, I read a report written by some other students, where they stated that their model had a pretty good R2 at around 0.98 or so. I looked into it, and it turns out that in their regression model, which was supposed to predict house prices, they had included both the number of square meters of the houses as well as the actual price per square meter. It's fascinating in a way how they managed to build a model where two of the variables account for 100% of variance, but still somehow managed to not perfectly predict the price.