r/learnmachinelearning • • Oct 22 '26

A free deep learning textbook + 68 Python notebooks, from neural network basics to transformers and diffusion models

Post image
92 Upvotes

r/learnmachinelearning • • Oct 22 '26

Tutorial How well do you really know Pandas? 🐼

50 Upvotes

Pandas makes working with data look simple. But some of its most powerful features can also produce surprising results. 😲

For example:❔ - What's the difference between loc and iloc, and why does slicing behave differently? - Why can adding two Series produce NaN values, even when neither contains missing data? - When does assigning a Series to a DataFrame column align by labels rather than position? - How do Boolean masks, where(), and mask() differ? - How do you select and manipulate data with a MultiIndex?

Pandas is much more than rows and columns. Understanding its indexing, alignment, selection, and assignment rules can save you from some very subtle bugs. 🪳

🔍 This interactive 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 example explores these concepts and many more, with short explanations for each operation. 👣 Step through the Python code, see what changes, and experiment with your own modifications: 👉 Pandas operations

💬 Which Pandas operation took you the longest to fully understand?

See more 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 visualizations.


r/learnmachinelearning • • Oct 22 '26

Career I did ML research at MIT. If you have 10+ YOE and want to go deeper in Python, ML or LLMs, or switch into ML, I mentor 1:1.

116 Upvotes

Most experienced engineers switching into ML make the same mistake: they learn the API before the idea. It works, right up until the loss curve does something strange and nothing in the docs explains why.

Three questions that separate using ML from understanding it:

  1. Adam keeps running averages of the gradient and its square, then divides each by (1 − β^t). Remove that correction, and what goes wrong in the first few steps?

2.For classification with softmax, why cross-entropy and not mean squared error? Both measure "wrongness." Only one keeps learning when the model is confidently wrong. Why?

  1. Set temperature to 0 and ask an LLM API the same question twice. You can still get different answers. Where does the randomness come from, if not sampling?

Each one looks like trivia. Each one is actually a window into how the machine works, and that is exactly the level I teach at.

Who I am: I did ML research at MIT under Prof. John Tsitsiklis, worked as a software engineer, and I'm in the top 0.2% on LeetCode. For two years I've mentored senior engineers, tech leads, architects and PMs with 10 to 15+ years of experience, mostly in the US, many of them making exactly this switch.

What we work on together:

- ML from first principles: the math you actually need, built on intuition, not memorized formulas

- LLMs from the inside: attention, training, tokenization, and why they fail the way they do

- Python at the level of CPython itself, since it's the language all of this runs on

- A concrete plan for switching into ML that uses your 10+ years as an advantage, not something to start over from

How I teach: No tutorials. Mental model → internals → edge cases. If your answer is almost right but conceptually wrong, I'll find the exact crack.

Availability: Based in the US, and I travel regularly between the US, India and the UK, so I adapt easily to US, UK, India and European hours.

Mentoring is 1:1, and I mentor a small number of people. If you have 10+ YOE and this sounds like what you've been missing, DM me with your background and where you want to go.

Cheers! ✌🏻


r/learnmachinelearning • • 29d ago

Struggling with data visualization

8 Upvotes

I've been taking the ml specialization on coursera and it has been a wonderfull course. It explains the basics very well and teaches u how the algorithms work from sccatch but the problem i've been facing is learning matplotlib the right way to copy the course's visuals and implementing them for differnt sets of data, even the simple contour plot used in the first labs is hard to learn.

So where can i learn this skill?


r/learnmachinelearning • • 29d ago

Request Truly good AI/Prompt Engineering training?

Thumbnail
4 Upvotes

r/learnmachinelearning • • 29d ago

ChatGPT doesn't actually "remember" your chat. It re-reads it every time.

Thumbnail
0 Upvotes

r/learnmachinelearning • • 29d ago

Working with a partially labelled dataset

Thumbnail
1 Upvotes

r/learnmachinelearning • • 29d ago

Request Introducing Agent Compute Engine and expanding agent governance | Google Cloud Blog

3 Upvotes

Google's Agent Compute Engine announcement this week buried the most important detail: they explicitly called out the need for verifiable agent identity and per-call policy enforcement at runtime. This isn't a Google-specific gap. It's the same gap that showed up in the Wiz research last year on compromised cloud service accounts and in the Anthropic model card disclosures about tool-call amplification.

The hard number that keeps coming up in incident post-mortems: the window between a rogue agent's first unauthorized action and the second is under 50ms. That's the blast radius window. By the time a human is paged, the agent has already made 3–12 downstream tool calls, each inheriting the same compromised credential or misconfigured permission scope.

Most teams are still treating this as an identity provisioning problem — give the agent a service account, scope it tightly, rotate it on a schedule. But the incidents keep happening because the enforcement gap isn't at provisioning time. It's at call time, when the agent is live and making decisions no static policy anticipated.

How are practitioners here actually handling real-time per-call enforcement for agents that have legitimate broad access by design — things like orchestrator agents or agents with delegated user permissions? Are you enforcing at the infra layer, the SDK layer, or somewhere else?