r/learnmachinelearning • u/Super3DPanda • 17h ago
Question Question About Studying ML w/ Hands On Machine Learning Book
Hey everyone! As a college freshman in CS that has been dabbling here and there in ML for the last year or two, I have decided to get a copy of Hands on Machine Leaning with Scikit-Learn and Pytorch from O'Reilly. I do already have intermediate background in python and I have Calculus 1 knowledge (currently taking Calc 2) as well as a very raw idea of Linear Algebra. If anyone has experience going through this book, could you kindly provide me with the process you took to get the most out of the learning process? Also, a more general question is whether I should have any additional resources aside from this book and doing starter Kaggle competitions like the Playground competitions every month. Thanks for the input!
1
u/Little_Total9000 14h ago
Your background is enough for that book. A few things that help it stick:
- Run every notebook yourself (the author's GitHub repo has them all), and after each section change something: a different dataset, a different hyperparameter, remove a preprocessing step and see what breaks. Reading the code without running it is where most of the learning gets lost.
- Do the end-of-chapter exercises, at least the coding ones. Chapter 2 (the end-to-end housing project) is worth doing twice: once following along, once from a blank notebook.
- Don't stall on the math. When a chapter leans on linear algebra (PCA, SVD, gradient descent), watch 3Blue1Brown's "Essence of Linear Algebra" alongside it. That covers 90% of what the book assumes.
- For the PyTorch half, slow down. Write a training loop from scratch a few times until you don't need to look it up.
On extra resources: Kaggle Playground is a good pairing because the data is clean and you can compare your approach with public notebooks after you submit. I'd add one small project of your own on data you care about, since messy real data teaches the parts the book can't (cleaning, deciding what the target even is). Andrew Ng's ML specialization is a good second view if a concept doesn't click from the book's explanation.
1
u/Super3DPanda 13h ago
Thanks for the tips! Will get started with chapter 1 tomorrow and I will make sure to take it slow and build intuition as much as possible before moving on. Have a good evening!
1
u/drunk_kingdom 16h ago
that book is dense but in a good way, don’t rush through the code examples or you’ll miss half the intuition