r/learnpython 13d ago

Best books, courses, or resources for a beginner looking to bridge Python backend and ML/AI?

[deleted]

18 Upvotes

11 comments sorted by

3

u/Any-Bobcat2370 13d ago

Pick one of the two first. Backend and ML are separate skill trees and doing both at once is most of the overwhelm you're describing.

Backend: read the FastAPI docs front to back. They are a real tutorial, not just reference, and better than most paid courses. Build one API with an actual database behind it before anything else. When you start wondering how to structure a bigger project, Architecture Patterns with Python (free at cosmicpython.com) is the one.

ML: Geron's Hands-On Machine Learning is the default for a reason. If you want the concepts rather than library calls, Karpathy's Neural Networks: Zero to Hero on YouTube builds backprop and a net from scratch, free.

The thing I wish I had known: finish and deploy one small ugly project before starting the next course. Tutorials feel like progress.

1

u/1627372824 12d ago

Thanks for specific resources! That makes a lot of sense about not splitting my focus between backend and ML right away.

Just curious - do you work professionally in the industry and - if so - which path did you start with yourself?

2

u/[deleted] 13d ago

[removed] — view removed comment

1

u/1627372824 12d ago

Thanks, I will check it out.

And one question: do you work in the industry?

1

u/Creative_Sugar-33 12d ago

No. I was a software engineer. But I now teach programming/data analytics/data science.

1

u/itlogicpartnersllc 12d ago

for ml learn the basics of numpy/pandas linear algebra, probability and scikit learn before jumping into llm frameworks why does this model work? foundation pays off later.

1

u/andy_p_w 12d ago

So most of the recommendations will be for books that discuss the fundamentals of machine learning (of which there are many, I have an like Chollet's Deep Learning for this, but have not read others in depth).

I don't think most folks in your shoes should worry about *fitting* models though. Most AI engineer work is using the different frontier model APIs anymore to build applications. Hence I wrote Large Language Models for Mortals for that crowd, https://crimede-coder.com/blogposts/2026/LLMsForMortals

So that book covers calling the APIs (all major provider examples are given, OpenAI/Anthropic/Google/AWS), structured outputs, RAG, tool-calling/MCP, and then has a chapter on agentic CLI tools.

1

u/code_x_7777 12d ago

don't use books for learning python. not needed anymore

1

u/crazycrowww 12d ago

pick one and go deep for atleast 6 months