Tools › AI Models & ML › ML From Scratch

ML From Scratch

Bare-bones NumPy implementations of core ML algorithms

🧪 AI Models & ML ★ 33.4k +6 this week Intermediate

What it is

ML From Scratch implements fundamental machine learning models and algorithms — regression, clustering, neural networks and more — in bare-bones NumPy for maximum accessibility. It is for learners and practitioners who want to see the math turned into working code without framework magic.

How it works

Each algorithm lives in a self-contained Python file with minimal dependencies, exposing fit/predict style APIs. You read or run the code, then swap in your own datasets or extend the implementations to experiment.

Use cases

  • Understand how gradient descent actually trains a regression or neural net.
  • Prototype a simple model with no heavy framework dependencies.
  • Use as teaching code for an ML fundamentals course.
  • Debug intuition about why a scikit-learn model behaves a certain way.

💰 Business opportunities

  • Create a paid ML fundamentals course using these implementations.
  • Offer code-review or mentoring for aspiring ML engineers.
  • Publish lightweight, dependency-free ML components for embedded or edge use cases.

Featured in 1 video

16 Cool GitHub Repos You WILL Use (no pressure)

The Coding Sloth · 2025-06-23

Similar tools

Made With ML

Learn to build, deploy and iterate production ML apps

🧪 AI Models & ML ★ 50.1k +11 wk Jupyter Notebook

AirLLM

Runs huge models on small GPUs by streaming layers

🧪 AI Models & ML ★ 42.6k +57 wk Jupyter Notebook

TimesFM

Pretrained foundation model for forecasting numeric time-series data

🧪 AI Models & ML ★ 35.6k +10 wk Python

YT-DLP

Command-line video downloader built to be wired into automated workflows

⚙️ Automation & Workflows ★ 208.7k +220 wk Python

Anthropic Skills

Open agent skills for documents, PDFs and office files

🤖 AI Agents & Assistants ★ 196.8k +570 wk Python

spec-kit

Spec-driven development toolkit that makes agents agree before coding

🛠️ Coding & Developer Tools ★ 150.3k +152 wk Python