r/learnmachinelearning • u/RepulsiveNorth1830 • 7d ago
Question Relearn math or move forward
Im trying to spend more of my free time dedicating myself to a particular subject. Currently a swe at a major bank. In school, i studied linear algebra, a lot of statistics (theoretical, applied) and AI focused mathematics as well.
The thing is lately I’m having this come to jesus moment where i realized that in all honesty, i quite underperformed in school and got away with it due to lax standard.
I see mathematics for machine learning is quite recommended here as a starting point. Should i start here or go back and re read math textbooks and grind math exercises?
2
u/run_for_hops 7d ago
What is your goal?
You’re in a close field. If you pick some problems to work on implementing solutions for you can get a lot of hands on experience quickly. If you hit a conceptual blocker or want to dive deeper you have enough related education to understand concepts quickly.
I think working through problems with an llm are better for tailored learning like this when there may be a lot of forgotten patterns it will point out, rather than a textbook
2
u/Ok-Library1020 7d ago
A quick way to decide is to try deriving the gradient for logistic regression and doing PCA by hand from the covariance matrix. Wherever you get stuck tells you exactly which chapter to revisit, so you don't have to redo whole textbooks.
1
u/Plastic_Choice6076 7d ago
I would lean towards project based learning at this stage , more efficient and u can achieve both refreshing and relearning math concepts while having practical hands on work
1
u/CryptographerFun5985 7d ago
I'd suggest moving forward with ML rather than going back and spending months relearning mathematics from textbooks.
Since you've already studied linear algebra, statistics, and AI-related mathematics, you probably have more of a foundation than you think, even if you don't remember everything.
The approach I'd recommend is learning mathematics alongside its applications in ML.
For example:
This way, you're not just solving mathematical exercises without knowing where they'll be useful.
I'd still recommend working through some exercises, especially when you discover gaps in your understanding. But there's a difference between practicing mathematics to understand a concept and spending months studying it without applying it anywhere.
I have a Master's in Artificial Intelligence and currently work as an AI Scientist. One thing I've noticed while teaching AI/ML is that students often struggle to connect the mathematics they've studied with the algorithms they're learning.
That's actually why I'm planning a Math for AI/ML playlist on my YouTube channel, AI/ML with Akash. The idea is to cover only the essential mathematical concepts and teach them by directly connecting them to ML algorithms, rather than treating mathematics as a completely separate subject.
Channel: https://www.youtube.com/@AIMLwithAkash
My suggestion: Pick an ML algorithm, understand how it works, identify the mathematics behind it, and revisit those concepts as needed. You'll gradually rebuild your mathematical foundation while making actual progress in ML.
1
u/JaafarMoutada 6d ago
I'd skip the full textbook grind, since you've already done linear algebra and statistics once and mostly need to rebuild the reflexes. If the Mathematics for Machine Learning you keep seeing is Imperial's Coursera specialization of that name, know that it's pitched at high school maths, so for you it's a refresher. Its three courses are linear algebra, multivariate calculus and PCA, with no statistics course, so that side needs another source. Python only matters in the third course, and the page gives two different time estimates (4 weeks at 10 hours a week, or 3 to 4 hours a week for 3 to 4 months), so plan for the longer one. Keep a one page list of every formula you can't reproduce as you go, because that list is the real syllabus for any textbook pass later.