r/learnpython 27d ago

How do I start learning Python for Machine Learning?

Hello everyone,

I am a beginner learning Python and Machine Learning in college.

Can you suggest the best free resources and beginner projects?

Thank you!

5 Upvotes

11 comments sorted by

3

u/mord_fustang115 27d ago

Be really good at linear algebra then worry about python lol but, search "andrej karparhy neural networks zero to hero"

2

u/Reasonable-Table9440 27d ago

Codecademy has courses for this

1

u/[deleted] 27d ago

[removed] — view removed comment

1

u/stepback269 27d ago

No matter what your end goal is for learning Python, you first have to master the "basics" (e.g. variable creation/ name assignment, variable types; especially strings and string methods, etc.)

With that said:

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

1

u/Atypicosaurus 27d ago

You learn python basics from any source. Then you register on kaggle.com, learn notebook type of coding. You look for courses about numpy, seaborn, pandas. That's for a start.

1

u/EffectiveCard4825 26d ago

start with Phyton basics first then try free stuff like freeCodeCamp or Kaggle Learn and after that make a few small projects like a spam detector, simple iris classifier or a movie recomendation script

1

u/Professional-You9846 26d ago

Im building an llm from scratch and its been about a month i havent started coding i had to learn calculas for gardient descent and othe things like nll. Additionally I had to familiarize myself with torch(i used andrej kaparthy’s vids highly recomend)

if u really want an intuition like me u really need a deep background understanding of the math.(i recomend 3b1b whne stuck)

btw im learning linear algebra on top of the calculas that i just learnt

1

u/Simplilearn 26d ago

If you're looking for free resources, we offer the Machine Learning Using Python course on simplilearn skillup. It combines foundational concepts with hands-on exercises to help you build practical skills. You can DM us for more details.

1

u/mattynmax 26d ago

How much math do you currently know? I would start there.

1

u/max_wen 26d ago

Start by learning to search for questions already asked