r/datascience • u/da_chosen1 MS | Student • Aug 14 '19
Fun/Trivia Expectation vs reality
42
Aug 14 '19
This was actually my favorite part of getting into machine learning, coming from a statistics background. I was like, "Oh, OLS regression is a form of machine learning? Wow, this really isn't magic."
0
Aug 14 '19
[deleted]
13
Aug 14 '19
Yup. That's exactly why OLS regression is machine learning. The regression line is fitted over iterations, using OLS as a measure of best fit.
0
Aug 14 '19
[deleted]
8
Aug 15 '19
Wait...you can solve OLS regression with gradient descent can you not?
Presumably something does fit the assumptions that OLS regression requires, OLS regression performs on par, if not better, than more complex machine learning algorithm, in addition to being fully explainable. In this case, is it considered a more advance technique?
Also super weird to think it's belittling when obviously no one is doing that.
13
Aug 14 '19
Ah, I see that I'm in elitist territory. It doesn't matter what kind of prestigious definition ML "suggests". Linear regression is a foundational method in ML, that's not belittling, it's just a fact.
6
Aug 15 '19
Numerical optimization methods like gradient descent are very common in statistics and in many other areas of mathematics. If you can't solve something analytically you use an iterative method
6
Aug 15 '19
This is silly.
The reason those techniques are used to fit the model (solve the related optimization problem) is just because there’s no closed form solution. If there were, that’s what would be done.
It’s not ‘learning,’ it’s just minimizing least squares (or whatever loss function) using a standard optimization package (gradient descent) and watching the improvement in for over iteration. Just like any statistical method (in fact, even OLS - doing the closed form solution is not that efficient in practice).
9
u/rimptch Aug 14 '19
Reminds me of my ignorant manager when I tell him that the analytics project I'm working on is based on statistics and not ML :(
6
5
u/hauntedpoop Aug 15 '19
This is so truth that I think I'm wasting my time doing a Master's in CS and should change to Applied Maths instead.
4
u/TheShreester Aug 16 '19 edited Aug 30 '19
Maths is useful in most science and engineering fields but the focus is different from CS.
1
Sep 05 '19
Applied Math can mean a lot of things. I know some Applied Math programs are pretty much just Computational Math and CFD/Numerical Analysis.
11
u/notcoolmyfriend Aug 15 '19
Maybe think of machine learning as stats + computer science. Imagine your problem is building a self driving car and you're trying to do collision detection. The dataset you have is rgb 1080p video at 60fps for 3 seconds. For simplicity's sake let's assume you have 1 million of these examples (833 hours or so?) because the problem is complex and you'd like to get a really accurate result, learning from the data set. So your dataset is 1 million x (3 x 1920 x 1080 x 60 x 3) - about 1 million samples of 1 billion features/independent variables. Assume a lower bound of each feature taking 1 Byte to store you have about 1 Petabyte of data. How do you solve the various problems arising from time and spacial complexity? Statistical concepts are definitely important, but stats alone won't solve this problem. The recent rise of neural nets is due to dramatic technology advances since the middle of the last century, making learning possible in a reasonable amount of time.
Edit: formatting, arithmetic.
2
u/Mooks79 Aug 15 '19
But isn’t that argument also true of things like linear regression? Before computers, that was often too laborious to do manually and people drew lines literally by eye. As others have pointed out, neural nets are essentially “just” nested logistic regression. That’s not to say I disagree that machine learning is stats + comp sci, but I think you can argue the two have gone hand in hand for far longer than that.
3
u/entotres Aug 15 '19
As others have pointed out, neural nets are essentially “just” nested logistic regression
Okay, so let's continue down this rabbit hole: Logistic regression is "just" math. And math is "just" counting. Where did that get us? It's a pointless argument.
1
u/Mooks79 Aug 15 '19
To the understanding that all this really is just maths and logic - which I don’t really think is a pointless argument.
(Although you could argue that logistic regression is not just maths as you are inputting the human understanding of why it matters to minimise some function which we consider to be an “error”.)
Nevertheless, I’m not saying don’t make the delineations or don’t consider that different fields have contributed to the development of what we’d consider machine learning these days - I’m simply pointing out that these delineations are more arbitrary and greyscale than is often claimed.
1
Aug 15 '19
I don't understand the point you're trying to make - you can reduce any argument to absurdity. That doesn't mean it's pointless.
0
u/entotres Aug 15 '19
I’m saying it adds nothing of value to make this painfully obvious statement.
1
1
u/notcoolmyfriend Aug 16 '19
I agree with what you said. The main distinction for me is the evolution of computer science and technology. This evolution has been on an upward trajectory while stats hasn't made as significant strides. Let me try to put it another way: fundamental theory of machine learning has been stats. In practice, stats has not evolved nearly as much and we have been able to leverage better technology such as GPUs. People who think machine learning is just stats are taking technology for granted and should show some appreciation to the engineers, scientists, and technologists that made machine learning possible.
3
3
2
-1
u/Delta-tau Aug 15 '19
The thing is that ML is a superset of stats and you can't really understand ML if you're not already well versed in stats.
You can learn how to use tools that other people created to train and deploy models and call yourself a "ML engineer" but you will never understand in depth what the science of ML is about and how it differs to classical stats.
That said, the vast majority of self-proclaimed ML "experts" out there are phoneys.
4
u/TheShreester Aug 15 '19 edited Aug 16 '19
The thing is that ML is a superset of stats and you can't really understand ML if you're not already well versed in stats.
ML is not a superset of stats. It's a new hybrid field where algorithms that learn from data, computer programming and statistical models overlap.
0
u/Delta-tau Aug 15 '19 edited Aug 16 '19
Being a superset means that it involves elements that the subset lacks. What you're stating doesn't go against my initial premise. Though, for the record, algorithms that learn from data and computer programming is nothing new to stats. It's just called computational stats.
There's nothing new about ML except that people who were previously completely ignorant of the field suddenly discovered that it's something that can make them money.
-9
u/entotres Aug 15 '19
To continue down this path... Statistics is just math. And math is just counting. It’s a pointless exercise..
6
1
Aug 15 '19
Man I loved my Advanced Counting 401 class when I did my BA in Stats.
1
0
Aug 14 '19
[deleted]
30
14
u/IllmaticGOAT Aug 15 '19
Wow really? PhD in CS here and I got questions about whether my stats skills were up to snuff. Maybe it was just the positions I applied to. Maybe I'll list my degree as ML.
29
u/nerdponx Aug 15 '19
The two aren't mutually exclusive, management and recruiters will throw themselves at you if you tick off buzzwords. You're still going to get the full scrutiny by whatever technical people they already have doing the hiring...
1
-5
u/simongaspard Aug 15 '19
ML is overrated
5
16
Aug 15 '19
It's certainly not! It's going to be driving our innovation for decades. And we are still learning.
9
Aug 15 '19 edited Aug 15 '19
Hell, we’re still learning to learn to learn by gradient descent, by hard work, by trial and error.
3
Aug 15 '19
ML is just statistics
6
u/Jorrissss Aug 15 '19
Does that mean that you think deep learning as a field belongs to statistics?
1
u/simongaspard Aug 18 '19
I spent most of grad school studying/interning in ML and doing ML-based projects. I changed focus because most of the software products that claim to use ML are no more different than me programming a bot on a website. Real ML "products" that add real value have yet to be created
1
Aug 18 '19
I have a masters in Data Analytics and can personally say the contribution to healthcare alone is really exciting.
1
u/simongaspard Aug 21 '19
yeah, i did a MS in data science. i thought about the healthcare industry mostly because of the grass looking greener on that side. but i didnt want to take epidemiology courses or biostatistics. I also didn't want to bother learning SAS.
0
Aug 14 '19
[deleted]
6
u/thatwouldbeawkward Aug 15 '19
And I'm highlighting numbers if they're above/below goals and typing out things that anyone could find in dashboards if they looked at them...
-14
Aug 14 '19
[removed] — view removed comment
1
u/sc00p Aug 15 '19 edited Aug 15 '19
How do you check the convergent and discriminant validity a dataset using an SQL query?
85
u/PM_me_salmon_pics Aug 14 '19
Ok for real tho, as someone new to the field is this what machine learning is? I always heard and thought it was some fancy AI electrical neuroscience shit, and now that I'm actually learning about it it's just... statistics? Which I'm actually cool with I'm loving it, but why the name? I'm almost at the end of an intro to machine learning book and none of it is much more advanced than what I learnt in the maths courses of my chemical engineering degree. We'd write some equations, do some optimizations, build models, do a linear regression or whatever and write some code in R or Matlab, and we just called it stats or optimisation. So far I've seen no evidence that machines are learning anything?