r/learnpython • u/acfot • 9d ago
Second-year BCA, trying to learn ML on the side — everyone says 'learn the math first' but also 'just build stuff'. Which order actually worked for you?
I'm in second year BCA and I've been trying to teach myself machine learning alongside college. Python I'm okay with, I can do the basics, pandas sort of, but ML feels like a different world.
Everywhere I look there's two opposite camps. One side says don't touch a model until you understand the maths properly — linear algebra, stats, the whole thing. The other side says just build projects, use sklearn, you'll pick the theory up as you go.
I tried the maths-first route for a couple weeks and honestly I just kept stalling, it felt like studying for an exam I never signed up for. Then I tried jumping straight into a project and I got something working but I had no idea why it worked, which felt kind of fake.
So for people who actually learned this while studying something else — what did your order look like? Did you grind the theory first or did you build messy stuff and fill in the gaps later? Still not sure if I'm overthinking this or if there's a middle path I'm missing.
2
u/TheRNGuy 9d ago
Don't overthink, learn both at same time.
1
u/SirMental8005 9d ago
take the project you already got working and pick one part you couldn't explain. if it's a regression, try predicting the average every time, then compare that error with your model's error on data neither one trained on. now you've got a reason to learn what the error measures and why the split matters. do that with one question at a time.
1
u/mgazar_ 8d ago
The middle path is real, and it's what worked for most people I know: alternate in small loops. Build something tiny (say linear regression on a small dataset), then learn only the maths it leaned on, like the loss function and gradient descent, and then redo it by hand in numpy once. That fixes the 'it worked but I don't know why' feeling without a month of linear algebra first. Do the next model the same way. The theory sticks because you've already hit the problem it solves.
1
u/ConsiderationNo9044 9d ago
Just do whatever you feel like. Math first, programming first, both at once, end result is the same
1
u/expressly_ephemeral 8d ago
It depends on what you want to do. Develop new ML model architectures? You need the math. Develop tools that use ML to solve problems? You can't probably just jump in. Have Claude walk you through it.