rushter/MLAlgorithms
rushter/MLAlgorithms has 11,183 GitHub stars and 1,766 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and +2 in 15 days. Last checked 2026-11-19 09:30 UTC. Last push 2026-11-16.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Minimal and clean examples of machine learning algorithms implementations
머신러닝README.md
OriginalMachine learning algorithms
A collection of minimal and clean implementations of machine learning algorithms.
Why?
This project is targeting people who want to learn internals of ml algorithms or implement them from scratch.
The code is much easier to follow than the optimized libraries and easier to play with.
All algorithms are implemented in Python, using numpy, scipy and autograd.
Implemented:
- Deep learning (MLP, CNN, RNN, LSTM)
- Linear regression, logistic regression
- Random Forests
- Support vector machine (SVM) with kernels (Linear, Poly, RBF)
- K-Means
- Gaussian Mixture Model
- K-nearest neighbors
- Naive bayes
- Principal component analysis (PCA)
- Factorization machines
- Restricted Boltzmann machine (RBM)
- t-Distributed Stochastic Neighbor Embedding (t-SNE)
- Gradient Boosting trees (also known as GBDT, GBRT, GBM, XGBoost)
- Reinforcement learning (Deep Q learning)
Installation
git clone https://github.com/rushter/MLAlgorithms
cd MLAlgorithms
pip install scipy numpy
python setup.py develop
How to run examples without installation
cd MLAlgorithms
python -m examples.linear_models
How to run examples within Docker
cd MLAlgorithms
docker build -t mlalgorithms .
docker run --rm -it mlalgorithms bash
python -m examples.linear_models
Contributing
Your contributions are always welcome!
Feel free to improve existing code, documentation or implement new algorithm.
Please open an issue to propose your changes if they are big enough.