r/learnpython • u/Ok_Author_5388 • Oct 17 '26
Is CS50P enough to start ML/AI? What should I learn next?
I'm finishing CS50P and want to move into ML/AI, but I feel it's not enough on its own. What topics and resources should I add (math, libraries, courses)? Any roadmap you'd recommend for a beginner?
Thanks for any kind of advice it will be helpful.
19
Upvotes
7
u/mattynmax Oct 17 '26
Do you feel you have sufficient math knowledge to read and understand “Attention is all you need”
4
u/hainguyenac Oct 18 '26
If you don't know anything about linear algebra, don't "move into AI/ML" until you do.
2
u/Massive_Distance_616 Oct 18 '26
S50P gives you enough Python so the language won’t block you, but you’re right that it’s not enough on its own. The mistake to avoid is either drowning in math prerequisites for months before writing code, or jumping straight into PyTorch without understanding the basic ML workflow.
The practical sequence:
NumPy and pandas first: Enough NumPy to understand arrays, shapes, and matrix operations; enough pandas to load, clean, and filter a dataset.
Scikit-learn before PyTorch: This is the step most roadmaps skip and it matters. Train linear regression, logistic regression, random forests on simple tabular data. This is where you learn train/test splits, overfitting, cross-validation, and evaluation metrics (precision, recall, F1). These concepts govern all ML, and they’re 10x easier to learn on a small dataset than inside a neural network training loop.
Math alongside, not before: You don’t need to prove theorems first. You need geometric intuition: what a gradient is, why matrix multiplication appears everywhere. Watch 3Blue1Brown’s Essence of Linear Algebra and Essence of Calculus before touching PyTorch each is about 3 hours and tensor shapes will immediately make sense. The MML book (mml-book.github.io) fills gaps later.
PyTorch and fast.ai: Once you understand the ML workflow, fast.ai’s Practical Deep Learning for Coders is the best free option. It’s top-down (build first, understand why second), which suits people coming from CS50P. Skip TensorFlow unless something forces it.
Then build things: Tabular classifier, image classifier, text classifier, one project you actually care about. Put the code and conclusions on GitHub.
So the sequence: First CS50P, second NumPy/pandas, third scikit-learn, fourth PyTorch/fast.ai, fifth specialisation, with math running alongside from the start.
You don’t need a degree. You need projects where you can explain why your model works and why it fails.
14
u/ModularMind8 Oct 17 '26
The usual path is python, pytorch, math for ML, ML foundation, then whatever specialty you're interested in (NLP, Vision, RL, etc). I wrote a few roadmap posts (on my profile)
3
u/codeguru42 Oct 17 '26
What do you mean by "move into ML/AI"? What is your goal?
6
u/theChaparral Oct 17 '26
if you liked CS50P... https://cs50.harvard.edu/ai/
3
u/cyrixlord Oct 17 '26
I mean, you can study other things, or try things while you are still studying CS50P. I wouldn't just do the exercises and coursework, I'd try to see how I can use them in my own projects, like if I had a project that I want to use ML/AI for, I'd ready up on ML/AI and Python while studying CS50P and see how they fit together... you could easily find python tutorials right now that show off ML/AI stuff..
2
u/my_password_is______ Oct 18 '26
https://mml-book.github.io/book/mml-book.pdf
posted by the authors
https://mml-book.com/
2
u/PanelReader Oct 21 '26
i'd suggest getting comfortable with numpy, basic linear algebra and derivatives before moving into neural networks i recently implemented a small XOR network using numpy to understand forward propagation, backpropagation and gradient descent working through the mathematics and writing the code helped me understand how the training process actually works here's my implementation and notes if they're useful https://github.com/Vaibh37/Neural-Network
2
u/sai_8303 Oct 21 '26
add math and data handling next, mailnly ;inear algebra basics plus numpy and pandas, since model liberaries make little sense without them.bootdev could strengthen the programming side alongside that math,through dedicated ML courses carry the actual machine learning
3
u/EntrepreneurHuge5008 Oct 17 '26
That's a good gut feeling
2
u/Motor_Sky7106 Oct 17 '26
Maybe a computer science degree followed by a master's degree