Skip to content

Latest commit

History

History
47 lines (38 loc) · 2.45 KB

File metadata and controls

47 lines (38 loc) · 2.45 KB

ArduinoMicroML

Embedded Machine Learning for Microcontroller using MicroML framework. MicroML brings Machine Learning algorithms to microcontrollers, including limited 8-bit Arduino AVR boards, to run a classification model. The original repository can be found here.

Supported classifiers

Install

pip install micromlgen

Usage e.g. Decision Tree Classifier

from micromlgen import port
from sklearn.tree import DecisionTreeClassifier
from sklearn.datasets import load_iris
clf = DecisionTreeClassifier()
X, y = load_iris(return_X_y=True)
clf.fit(X, y)
print(port(clf))

Examples

space-1.jpg
Fig. 1RGB color classifier
space-1.jpg
Fig. 2IMU classifier
space-1.jpg
Fig. 3Morse Code classifier
space-1.jpg
Fig. 4Key word spotting

Video Tuturoial on YouTube

GitHub Logo