r/learnmachinelearning • • 6d ago

Help Started my journey

Post image

I am on a scratch level and currenty started my ml journey with this book Hands on machine learning with scikit learn and pytorch
Got the whole book printed out
What should i do along side or with it ? At what point should i start building ??
Is it a good start ??
Would love advices and corrections

356 Upvotes

81 comments sorted by

36

u/kbr89 6d ago

It's a good start, and it's one of the most common first books for this. If Python and NumPy are still new to you, spend a couple of weeks on them first, because the book assumes you can read Python code.

What to do alongside it:

  1. Keep the code running next to the printed pages. The author publishes the book's notebooks on GitHub and they can run in Google Colab, so there's nothing to install. Type the code yourself instead of only running the cells, at least in the first chapters. That's where you find out which parts you didn't really follow.
  2. Start building at the end-to-end project near the beginning of the book, without waiting to finish it. Once you've done it on the book's dataset, repeat the same steps on a small dataset you choose yourself (Kaggle has plenty of tabular ones). Every later chapter then gives you something to add to it: a new model, better features, cross-validation.
  3. Learn the math as it comes up. When a chapter leans on something you don't know yet (gradients, matrices), learn that one piece the same week and go back to the chapter.

When the book's explanation of a model doesn't land, a lecture on the same model usually does, and StatQuest on YouTube covers most of the classic ones in Part I. I built beyondtube (beyondtube dot pro) for that step: you put a few long lectures from different teachers on the same topic together, ask your question across all of them, and each answer points to the video it came from.

2

u/Legal_Professor_6780 5d ago

I do know python and am introduced to numpy but still yet to learn it. Thought i would learn it along the journy .. keeps me from learning just theory and all .
Btw thanku smm.. got some new insights from you …

5

u/Tantalizing-Boulom 5d ago

learning the math on the fly can get messy with linear algebra though, having the matrix multiplication intuition down beforehand saves a lot of staring at shape mismatch errors

2

u/JDLAW2050 5d ago

Thank you 🙏

2

u/Commercial_You- 5d ago

Is there directions for making an end to end project from the ch 2? Also how did you think of an idea that soon

17

u/PanelReader 6d ago

Good luck bro

8

u/YetMoreSpaceDust 6d ago

My only advice is - get going soon. I bought the first edition of the book years ago and worked through the first half and then tried to come back to it years later. Well, PyTorch had changed so much since the first edition by then that nothing in the book worked any more : (. I found I couldn't even downgrade to the version the author had used : (

3

u/Legal_Professor_6780 5d ago

Yess the good thing is that mine one is the first edition (the 2025 one)
But By the release of the 2nd edition even this new one will be declared as an obsolete
Thats just how fast the scenario is 🙂

1

u/blaaammo_2 5d ago

Great advice. Everything is moving really quickly. But an excellent starting book I liked it a lot

5

u/PlanckScandella 6d ago

another lost soul ...

1

u/Legal_Professor_6780 5d ago

Same question “….and why?”

4

u/PlanckScandella 5d ago

Because you've just bound yourself to an 800-page grimoire.... once you summon your first RuntimeError: CUDA out of memory, there is no turning back.
Welcome to the coven!

1

u/tenbilliondollarsman 4d ago

so you have any recommendations or suggestions to overcome this?

2

u/epicusername1010 4d ago

Get a B200 on your PC /s

1

u/PlanckScandella 4d ago

to overcome....what?

1

u/tenbilliondollarsman 3d ago

to overcome that possiblity "RuntimeError:CUDA out of menory", i bet the book don't cover it right

1

u/PlanckScandella 3d ago

ahh .. like u/epicusername1010 said, a B200

2

u/tenbilliondollarsman 5d ago

why lost soul?

3

u/akira_kayy 5d ago

Really good book. But it is not necessary to go page to page. I prepared ml part until before ann and that gave a good ml foindations to me. I wouldnt say running code is really important but testing given code helps. Make claude test u on its material. That helps a lot.

1

u/Legal_Professor_6780 5d ago

Noteddd , going to do the same way
Thanksss

2

u/Stock_Test2326 6d ago

ALL THE BEST 🚀

2

u/Rezushka 5d ago

Good luck on your journey! I use "Python for Data Analysis" from O'Reilly too. But something has been bothering me: AI. Sometimes I ask myself: why am I working on ML or coding when there are giants like Claude or DeepSeek?! My only motivations in this road are learning, thinking and solving problems.

1

u/Legal_Professor_6780 1d ago

The motive is to “build” not to “chase”

2

u/No-Main-4824 4d ago

In addition to understanding and writing software which is analogous to building the model, I would suggest to also pick some textbook from statistical learning. You'd me amazed to read about the theoretical underpinnings of many implemented or existing models and their respective modelling choices.

1

u/Legal_Professor_6780 1d ago

I alredy know the math side of this domain
I mean like i know almost 70% of the math … the stats part 😅

1

u/ProbabilisticGlitch 6d ago

Good luck , keep us updated.

1

u/Legal_Professor_6780 5d ago

Yess thanksss

1

u/Stock_Test2326 6d ago

do you know to code already ?

1

u/cursedswampfrog 6d ago

I also printed this book and gonna start reading it soon. good luck on learning

2

u/Legal_Professor_6780 5d ago

To you too 💪💪

1

u/nakshatra315 4d ago

Can you share book's pdf I want that

1

u/PierSergioCaltabiano 6d ago

I'd like to do the same, what's your background

2

u/Legal_Professor_6780 5d ago

Cool join me(us)
2nd year btech cs

1

u/PierSergioCaltabiano 5d ago

Do you suggest the book for not cs people with basic python and statistics skills?

1

u/Hand_wind 2d ago

It depends on whether you want to learn and is it helpfully to your domain

1

u/glennypenny93 5d ago

I’ve been on chapter 2 for over a month

1

u/Legal_Professor_6780 5d ago

Hows it ????

1

u/glennypenny93 5d ago

Really interesting! However, if you’re like me and you are fairly early on in your data and coding skills, then you’ll find it challenging - to say the least.

Lots of different elements all thrown at you at once, and it’s a lot to learn!

1

u/gxgoddy 5d ago

Welcome aboard !

1

u/israelavila 5d ago

Have a nice journey. Don't get frustrated if you got stuck, keep moving.

2

u/Legal_Professor_6780 5d ago

Yup thats the key

1

u/eatinlunch 5d ago

I’ve come looking for a holly grail of machine learning. Is this it?

3

u/Legal_Professor_6780 5d ago

Haha for beginners, yes

1

u/Hand_wind 2d ago

Can you specify what the grail of Machine Learning is?

1

u/sandy_55-6 5d ago

Can you share me that book I also want to start so I want to print out that book

1

u/savatrebein 4d ago

Waste of time tbh. Should build with AI straight away and learn along the way. Knowing scikit learn and pytorch is not going to help you in the current AI world.

1

u/Legal_Professor_6780 1d ago

Not like ill learn ONLY skcikit amd pytoch
Its just a start .. will learn much more on the way

1

u/Hand_wind 2d ago

can you recommend a way of learning in this new AI world?

1

u/savatrebein 1d ago

Buy a Claude code sub and vibe code some apps.

1

u/thedumb-jb 3d ago

Let’s join hands and share notes?

1

u/Junior_Bee7274 3d ago

Start building projects as soon as you hit the first few chapters on classification and regression. Don't wait until you finish the whole thing or you'll lose momentum. Even small stuff like predicting house prices on a dataset beats just reading.

1

u/Legal_Professor_6780 1d ago

Yesssssirrrrr

1

u/Low_Information9831 1d ago

Hii I also started this book a few days ago. Mind if we work through it together and share our projects and ideas? We'd both have a companion for the journey 😊

1

u/Legal_Professor_6780 1d ago

Yes suree !! Dm me

1

u/Low_Information9831 1d ago

I am unable to DM you, please check your settings or DM me

1

u/Legal_Professor_6780 1d ago

Sorry, now check again

1

u/srn_k 15h ago

what projects are u working on?

1

u/obi_wankenobi69 5d ago

Also do pyplot and scipy and jax

1

u/jrprongs422 5d ago

I'm about to read that book too, I have introduction to ML book it's pretty good start for someone who hasjust learned data analytics python

1

u/Commercial_You- 5d ago

From Where did you learn data prerequisites

1

u/Hand_wind 2d ago

In this new AI world, how should we learn and why is important to learn for me( wanting to become Data Engineering and AI Development builder and and what are the priorities. With the heat of AI becoming more Advanced , then what do are people assuming that it's true and what is the true mental model to Kerp in mind for the new World of AI.

1

u/A-Mayson 1d ago

Sou leigo nisso, mas pq a galera esta migrando tudo pra rust ? vi que a propria antropic migrou a api do claude de python para rust. Logo sera que o python vai morrer nisso ? agradeco a paciencia.

0

u/Confident-Gas-1971 4d ago

I complete my python pandas and numpy and maths and Andrew ng ml what's next should I do? Senior engg sir / maaam please guide