This repo contains a collection of classical machine learning algorithms and tools implemented in Python. The goal is to provide a simple and easy to understand implementation of the algorithms, so that they can be used as a reference implementation for students and practitioners alike.
- Dimensionality Reduction:
- Cross Validation:
- Gaussian Classifiers:
- Logistic Regression:
- Support Vector Machines:
- Coming (somewhat) Soon:
- Gaussian Mixture Models
- K-Means Clustering
- Perceptron and basic neural networks
- Backpropagation
- Examples
- Documentation
- And more!
The algorithms are implemented as classes, with the following methods:
train(X, y)
: Train the model on the given data.predict(X)
: Predict the labels for the given data.
Implementation may vary slightly between algorithms, but the general idea is the same.