← all repositories

patrickloeber/MLfromscratch

Educational repository implementing 12 classic machine learning algorithms from scratch using only numpy.

1.6k stars Python LearningML Frameworks
MLfromscratch
Velocity · 7d
+0.6
★ / day
Trend
steady
star history

This repository provides implementations of fundamental machine learning algorithms including KNN, Linear/Logistic Regression, SVM, Decision Trees, Random Forests, Naive Bayes, Perceptron, PCA, K-Means, AdaBoost, and LDA. All algorithms are implemented from scratch in pure numpy to demonstrate the underlying mathematics, rather than relying on existing ML libraries. The project serves as a learning resource with accompanying YouTube tutorials explaining both the math and code.

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