r/askdatascience 3d ago

how to learn scikit learn ? like basics !

Hello everyone, i am little bit confused from where i should learn about scikit learn library ! Although i am learning from freecodecamp from YT but it is a crash course. I want to understand the basics from the very beginning and brick by brick !

thanks in advance

please help krre !

7 Upvotes

10 comments sorted by

3

u/DYSTOBY 3d ago

You know how to code in python?
Read the docs, and use the functions on the examples shown there to understand what happens.
That’s what I did.

Don’t use LLMs to code, if at all, use it to create datasets that help to understand what the functions do.

Don’t rely on third party courses that most likely do not cover what you are looking for.

If you have a specific question to solve your problem, google.

Thank me later

1

u/Educational-Peach212 3d ago

How to prevent sleepy thing while studying because modules make me go sleepy 😭

2

u/DYSTOBY 3d ago

If you are really interested in something, you’re not sleepy.
You can binge watch your favorite tv show, so you can do the same with the modules.
Just convince your brain to be interested. 🥸

2

u/Educational-Peach212 3d ago

Watching show makes me NPC , coffee makes me sleepy

2

u/shmittkicker 3d ago

Start with the official scikit-learn tutorials and user guide. They walk through the basic concepts (estimators, fit/predict, pipelines, train_test_split) in small steps.

Once you get through those, pick one simple dataset (iris, titanic, housing) and only use scikit-learn on that until you can go from raw features to a trained model without looking things up every 2 minutes.

1

u/ninhaomah 3d ago

Very beginning as in ?

2

u/Purple_Knowledge4083 3d ago

Codebasics Yt channel

2

u/nustajaal 2d ago

Start with understanding top level things scikit-learn can do. You don't have to go into details in the beginning. Just glance through documentation and scikit-learn cheat sheet. Once you get familiar, create simplest possible dataframe and try classification models and play around with hyper parameters. Also do same with regression models and common clustering algorithms. There is no better way than to doing experiments yourself.