Skip to content

ToyML: Machine Learning from Scratch

Python PyPI

Codecov Build Docs Test

Code style: black Ruff Imports: isort Checked with mypy pre-commit

There are machine learning algorithms implemented from scratch. Let's learn machine learning with simple toy code.

Models

  • Clustering: K-means
  • Clustering: DBSCAN
  • Clustering: Hierarchical(DIANA(Bisecting-Kmeans) & AGNES)
  • Classification: KNN
  • Classification: Naive Bayes
  • Ensemble: AdaBoost
  • Ensemble: Isolation Forest

Installation

pip install toyml

Changelog

https://ai-glimpse.github.io/toyml/changelog/