The Math Required for Machine Learning
medium.com
medium.com
Even if you understand the math you are training tens of thousands of parameters inside your model. You are also passing them through non linear elements like sigmoid of ReLUs. I am not sure what insight knowing calculus or linear algebra will provide you in building the model unless you can process more than 3 dimensions non linear elements in your head. I am sure there are people that can do it, but how many can do it?
If you are a software engineer that needs to use a network as a plug in module, then you may not need much understanding of linear algebra. But then you also don't need to know much ML either. It is simply a software engineering job.
However things change for anyone who gets their hands dirty or actually builds (even just implements know networks ) from scratch .
It is common to find that error caused by transferring a known model to your problem, was because of making key mistakes in how the question was posted mathematically. I am currently implementing Neural nets in my job, and have made many errors because of misunderstanding the mathematical operation of a layer.
PGMs are almost entirely math and so are embeddings and matrix factorization models. VAEs and GANs also need a solid grasp of the math behind them. Want to touch your loss function ? -> Math. Want to change optimization methods ? -> Math.
The visual designs of almost all neural nets are grounded in math, and this fact makes it vital to be good at it, if one wishes to gain anything beyond a surface level understanding of it.
Let me quote François Chollet: "Neural networks" are a sad misnomer. They're neither neural nor even networks. They're chains of differentiable, parameterized geometric functions, trained with gradient descent (with gradients obtained via the chain rule). A small set of highschool-level ideas put together
Linear algebra is in general the language used to set up and solve the problems systematically (on a computer).
Probability and stats build on calculus to provide formal methods to formulate the problems. ML adds techniques to this area to tackle problems focused around getting machines to learn and solve specific domain problems.
Deeper math is probably more necessary when developing machine learning algorithms. To apply machine learning techniques, less math is required. But knowing Lin algebra and matrix manipulations (Matlab, R fluency, etc) will not be wasted effort either way.
Check ^ for other useful recommendations and links.
I'm not sure why people are diving into modern techniques without knowing how to properly specify a simple (but powerful) regression model.
It is concerning to me that people are driving cars without first understanding the principles of mechanical engineering, thermodynamics, and fluid dynamics. I'm not sure why people are diving into modern cars without knowing how to properly build a simple (but powerful) steam engine.
The point being, there's a distinction between "machine learning research" and "applied machine learning". Of course those points are on a continuum, not separated by a bright line. But the point is, there are different roles and those different roles have different goals and requirements.
Of course knowing more math and theoretical foundations enables you to do more in some senses... just like a basic knowledge of fluid dynamics would be useful if you want to "port and polish" the cylinder heads in your car. But in reality, a minuscule portion of the population of car owners will ever want to do this. OTOH, it is essential if you're the person designing the car engine in the first place.
No, it's not a perfect analogy, but I think the overall point stands: some people need to know the deep, deep details of linear algebra, multivariable calculus, probability theory, measure theory, topology, etc., etc., for their goals in machine learning, while other people can achieve quite a lot without all of that knowledge.
Because math is hard whereas the ML hype carries the promise of effortless automagic - overkill, and unclear fitness be damned !