patrickloeber/MLfromscratch resource
Machine Learning algorithm implementations from scratch. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2651
- days_rel: n/a
- days_push: 944
- n_releases_24m: 0
Adoption not part of the score
1641 stars · 576 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python repository implementing classic machine learning algorithms (KNN, SVM, decision trees, K-Means, PCA, etc.) from scratch using only NumPy. It accompanies a YouTube tutorial series explaining the math and code behind each algorithm.
Use cases
- learn how machine learning algorithms work internally
- implement KNN from scratch in python
- understand the math behind SVM and logistic regression
- study a from-scratch decision tree implementation
- teach an intro ML course with simple code examples
- compare naive implementations against scikit-learn
When to choose
- you want to understand ML algorithms at a fundamental level
- you prefer learning via code paired with video explanations
- you need simple, readable reference implementations for study or teaching
When to avoid
- you need production-ready, optimized, or feature-complete ML tooling
- you want GPU acceleration or large-scale training
- you need algorithms beyond the small set covered here
Facets
learning-resource · maturity maintenance
machine-learning data-science machine-learning education tutorials python cross-platform from-scratch educational numpy algorithms tutorial-code
1 source
- readme: https://github.com/patrickloeber/MLfromscratch · fetched 2026-08-28 · bae05fbac8a1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| patrickloeber/MLfromscratch | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="patrickloeber/MLfromscratch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem