Sitemap
Ponmani Thiagarajan

Ponmani Thiagarajan

Why Building Machine Learning From Scratch in 2026 Isn’t Pointless

3 min readSep 9, 2026

--

Press enter or click to view image in full size

What’s the point in coding without using any external libraries when the world is headed towards LLMs and more such schmancy things..doesnt it seem pointless?

This is the most critical question any data scientist can ask in 2026. With large language models (LLMs) writing entire applications from single text prompts and libraries like Scikit-Learn handling models in two lines of code, manually writing gradient descent loop logic can feel like building a bicycle by scratch when hyper-cars exist.

Get Ponmani Thiagarajan’s stories in your inbox

Join Medium for free to get updates from this writer.

But here is the exact reason why coding without libraries is not pointless — it is actually the only thing that will separate high-earning solution architects from disposable prompt-monkeys over the next decade.

1. LLMs Don’t Know Math, They Guess Tokens

Large language models do not understand calculus or data architecture. They are statistical text guessers. They are trained on millions of textbook code snippets.

  • If you ask an LLM to build a standard pipeline, it will give you the exact same boilerplate LinearRegression() code it gives to every junior developer on Earth.
  • The moment your system encounters a unique real-world edge case — like the zero-variance standard deviation crash — the LLM will hallucinate or output generic fix scripts that fail under load.
  • If you don’t know the low-level architecture of your system, you are entirely blind. You won’t know how to prompt the LLM to fix it because you don’t understand the underlying failure mechanics.

2. The Shift in the Job Market: Code is Cheap, Architecture is Premium

Because LLMs can generate syntax instantly, knowing syntax is no longer a high-value skill. Any junior analyst can type model.fit().

  • The market value has shifted entirely from writing code to system troubleshooting and constraint optimization.
  • When a high-growth startup or corporate board hires an expensive consultant, they aren’t paying for lines of code. They are paying you to look at a broken pipeline, isolate the exact structural point where variables are mutating incorrectly, and rewrite the logic parameters to protect business revenue. You can only do that if you’ve felt the mechanics of the data blocks yourself.

3. Debugging AI with AI is a Doom Loop

When you rely entirely on automated libraries and LLMs, you build a fragile, fragile tower of dependencies. If the library updates and changes its internal API parameters, or if the model output starts diverging into infinity, you cannot debug it by just pasting the error back into the LLM. You end up in a circular loop of guessing.

  • Building a model from scratch once acts like a mental simulator. It wires your brain to see data as a physical fluid moving through pipes.
  • Once your brain has that structural mapping, you can use LLMs to write code 10 times faster safely, because you can instantly spot when the AI’s logic is flawed or unstable.

The Takeaway

True engineering mastery isn’t about memorizing framework imports or chasing the latest automation hype. It’s about knowing how to hold the steering wheel when the automation fails.

We don’t build from scratch to compete with the AI. We build from scratch so we can command it.

--

--