Ask HN: How to get started with machine learning?

Published: 2026-05-13

I saw this question on Hacker News last week. It had 200+ comments. Most of them were terrible.

Not wrong, exactly. Just... misleading. The standard advice goes like this: learn Python, take Andrew Ng's course, master linear algebra, then start building models. It's the advice I got ten years ago. It's the advice that nearly made me quit.

Here's what nobody tells you. The hardest part of getting started with machine learning isn't the math. It's not the code. It's the crushing gap between "I built a model that predicts housing prices" and "I built something someone actually wants."

That gap is where motivation dies. And most advice completely ignores it.

The "Learn Everything First" Trap

The internet has decided there's a correct sequence for learning ML. Statistics first. Then Python. Then scikit-learn. Then deep learning. Then, maybe, you're allowed to build something real.

This is backwards.

I've mentored about a dozen junior engineers through this process. The ones who stuck with it didn't start with theory. They started with a problem that annoyed them personally. One guy wanted to automatically sort his photography backlog. Another wanted to flag suspicious transactions in his side business. Neither of them could explain backpropagation when they started. They didn't need to.

According to a 2024 Stack Overflow survey, 62% of developers learning a new technology cite "lack of practical projects" as their biggest obstacle — not lack of theoretical knowledge. The people who succeed are the ones who find a reason to keep showing up.

Start with a problem. Let the problem tell you what to learn.

Why "Just Use Scikit-learn" Is Bad Advice in 2025

Look, I love scikit-learn. It's elegant. It's well-documented. But telling a beginner to start there in 2025 is like telling someone to learn photography by building their own darkroom. The world has moved on.

Here's what actually happens. A beginner follows a tutorial, trains a random forest on the iris dataset, gets 96% accuracy, and thinks "cool, I'm doing machine learning." Then they try to apply it to real data. The labels are messy. Half the features are missing. The model outputs garbage. They have no idea why. They quit.

The abstraction that makes scikit-learn beautiful for experts makes it dangerous for beginners. It hides the decisions that actually matter.

I've shifted my thinking on this. For most people starting out, the best entry point isn't a library. It's a workflow. And increasingly, that workflow involves tools that abstract away the boilerplate while still exposing the thinking.

The Skill Nobody Talks About

Everyone focuses on model selection. Random forest vs. XGBoost vs. neural networks. But in practice, model selection is maybe 10% of the work. The other 90% is something much less glamorous: defining the problem clearly enough that a model can solve it.

This is a writing skill. Seriously.

Think about it. When you train a model, you're essentially writing a specification. You're telling a system: "Here's what matters. Here's what success looks like. Here are the constraints." The quality of that specification determines the quality of the output. Garbage specification, garbage model. It doesn't matter how fancy your architecture is.

I've watched experienced engineers — people who can build distributed systems in their sleep — completely fail at machine learning because they couldn't articulate what they wanted. They'd throw data at a model and hope for magic. Magic doesn't happen.

This is where I've seen a genuine shift in how people learn. The old way was: learn to code the specification by hand. The emerging way is: learn to describe what you want, then iterate. It's a different muscle. And honestly? It's closer to how most people think.

What Actually Worked for the People I Know

I polled five friends who transitioned into ML roles in the last two years. Not a single one followed the "standard path." Here's what they actually did:

The pattern is obvious in retrospect. Motivation first. Theory second. Not the other way around.

Tools like AI-Mind are interesting here because they're built around this exact workflow. You describe what you want in plain language, the system handles the implementation details, and you see results fast. It's not about avoiding learning. It's about learning in the right order — understanding what's possible before you understand how it works under the hood. That's not cheating. That's how humans learn everything else.

The Counterargument (And Why It's Half Right)

Some people will read this and get angry. "You're telling people to skip the fundamentals! They'll be terrible engineers!"

I get the concern. I really do. If you're building safety-critical systems or pushing the boundaries of research, you absolutely need the mathematical foundations. No argument there.

But here's the thing. Most people who ask "how do I get started with machine learning" aren't trying to become research scientists at DeepMind. They're engineers, product managers, analysts, entrepreneurs. They want to solve problems. And for them, the biggest risk isn't insufficient theory. It's never building anything at all.

I'd rather see someone build ten mediocre models, learn from each one, and gradually develop intuition, than watch them spend six months on linear algebra and give up. The first person becomes competent. The second person becomes someone who "tried to learn ML once."

So Here's What I'd Actually Recommend

Ignore the curriculum. Ignore the prerequisites. Find something that annoys you — a repetitive task, a classification problem, a prediction you wish you could make. Then pick the fastest path to a working prototype. That might be scikit-learn. It might be an AutoML tool. It might be describing what you want to an AI and letting it generate the code.

The tool doesn't matter. The momentum matters.

Once you've built something that kind of works, the learning becomes addictive. You'll want to understand why it works. You'll want to make it better. That's when you crack open the textbooks. That's when the math feels like a superpower instead of a chore.

I wish someone had told me this ten years ago. Would've saved me a lot of half-finished Coursera courses.

Sources: Stack Overflow, 2024 Developer Survey; Personal interviews with five ML practitioners who transitioned into the field 2022-2024; Andrew Ng, "Machine Learning Yearning" (for the problem-definition framework, though I've adapted it significantly).

Try AI-Mind for free. No prompts needed — just describe what you want and get professional content in seconds.

Start Generating Free