← all repositories
hanbt/learn_dl

Neural nets from scratch, for people who'd rather read code than papers

A no-frills collection of foundational deep learning algorithms implemented in plain Python, aimed at beginners who learn by tinkering.

1.2k stars TeX Learning
learn_dl
Not currently ranked — collecting fresh signals.
star history

What it does

This repo houses source-code implementations of core deep learning algorithms, stripped of framework magic. No PyTorch abstractions or TensorFlow graphs — just Python showing how backprop, activation functions, and basic network architectures actually work under the hood. The target audience is explicitly beginners.

The interesting bit

The educational value often hides in the boring part: seeing every matrix multiplication and gradient calculation written out explicitly, rather than delegated to torch.nn. For anyone who’s finished Andrew Ng’s course and still wonders but what does fit() actually do?, this is the next step.

Key highlights

  • Pure Python implementations — no heavy framework dependencies to obscure mechanics
  • Covers foundational algorithms (per README; specific list not detailed in sources)
  • 1,227 stars suggests a modest but sustained audience of self-teaching developers
  • Explicitly beginner-oriented, not benchmark-hunting or production-ready

Caveats

  • README is extremely sparse — no listed algorithms, no install instructions, no examples shown
  • No visible tests, CI, or documentation beyond the single-line description
  • Unclear how much code is original pedagogy versus collected from elsewhere; no attribution visible

Verdict

Worth a bookmark if you’re teaching yourself deep learning fundamentals and need to see the gears turn. Skip it if you want production code, modern framework patterns, or a guided curriculum — this is a code dump, not a course.

Frequently asked

What is hanbt/learn_dl?
A no-frills collection of foundational deep learning algorithms implemented in plain Python, aimed at beginners who learn by tinkering.
Is learn_dl open source?
Yes — hanbt/learn_dl is open source, released under the Apache-2.0 license.
What language is learn_dl written in?
hanbt/learn_dl is primarily written in TeX.
How popular is learn_dl?
hanbt/learn_dl has 1.2k stars on GitHub.
Where can I find learn_dl?
hanbt/learn_dl is on GitHub at https://github.com/hanbt/learn_dl.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.