r/learnpython • u/acfot • 14d 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?
0
Upvotes
2
u/TheRNGuy 14d ago
Don't overthink, learn both at same time.
1
u/ConsiderationNo9044 14d ago
Just do whatever you feel like. Math first, programming first, both at once, end result is the same
1
u/SirMental8005 14d 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_ 14d 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/expressly_ephemeral 14d 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.