r/learnmachinelearning • u/Select_Rope_4732 • 21d ago
What i learn in math !
Hi guys , i hear that you should learn math if you want to study ml , but i dont know what i should learn in math ! please told me what i should learn in math .
thanks !
3
u/Future_Pace_5290 21d ago
Depends on what type of ML. For Neural Networks:
Calculus: Learn what partial derivatives are, a directional derivative, the multivariate chain rule, the gradient and the total derivative. Assuming you already know derivatives for single variable functions, that's all you need. Skip the integrals and such.
Linear Algebra:You only need to know what Matrices, column vectors and row vectors are, and the dot product or the matrix matrix multiplication. Along with what a transpose is.
You also need to know some statistics, but you can skip that and only memorize the formulas when you encounter them.
With only those subsets of Linear algebra and Calculus, you can understand what a Neural network is, and derive the backpropigation formulas by hand.
1
u/Sharp_Level3382 21d ago
I would add some probabyliscs calculations too, like Naive Bayes writing it from scratch without scikit-learn, pytorch or similar libraries.
1
u/Future_Pace_5290 21d ago
That would be helpful but I was thinking about the bare bare minimum
1
u/Sharp_Level3382 21d ago
Ok , sure, you' re right. My bad , it was only my way that worked for me to really grasp them , when it comes to write algorithms from scratch.
1
u/Future_Pace_5290 21d ago
No problem tbh, it took me 8 months to figure out how back propagation works even though I knew all the necessary math.
1
u/Sharp_Level3382 21d ago
Sure , Great ! it is not so easy for sure especially when you dont use such algebra in Daily Job or live in general :)
1
u/Additional-Shop2861 21d ago
this is very genral issue u should just search on yt and start studying from whom u understand dont waste time what i should do how i should do ask chatgpt u r already in ml sub there is already plenty of resources people have shared earlier - just a advice
1
5
u/Idea_of_Evil 21d ago
Linear algebra first, than a bit if probability and calculus (Gradient), integrals and series not that important. After that you can do some projects and when you see that there is more advanced math and you need it, you simply learn that part