Skip to content

tinyml

tinyml is a tiny linear-regression library: load a CSV, split it, fit a model, and score it, in five functions.

pip install "tinyml @ git+https://github.com/WillyOwl/docs-guardian#subdirectory=tinyml"

tinyml is not published on PyPI; it installs straight from this repository.

The examples use a small sample dataset that ships with tinyml: 40 houses with their size, number of bedrooms, age and sale price. Load it with tinyml.datasets.housing(), or view the CSV.