Logo

Contents

  • emlearn-micropython
    • Status
    • Features
    • Examples
    • Documentation
    • Citations
    • Developing
  • User Guide
    • 1. Getting started on PC (Linux/MacOS/Windows)
      • 1.1. Prerequisites
      • 1.2. Install scikit-learn
      • 1.3. Install emlearn
      • 1.4. Install MicroPython Unix port
      • 1.5. Install emlearn-micropython modules
      • 1.6. Create model in Python
      • 1.7. Use in MicroPython code
      • 1.8. Try it out
      • 1.9. Next
    • 2. Getting started on device (ESP32/RP2/STM32/etc)
      • 2.1. Prerequisites
      • 2.2. Install mpremote
      • 2.3. Install emlearn-micropython modules
      • 2.4. Create model in Python
      • 2.5. Use in MicroPython code
      • 2.6. Try it out
      • 2.7. Next
    • 3. Getting started for browser
      • 3.1. Prerequisites
      • 3.2. emlearn-micropython build for browser
      • 3.3. Setup web page
      • 3.4. Try it out
      • 3.5. Serving from device
    • 4. Supported versions
      • 4.1. Supported MicroPython versions
      • 4.2. Supported hardware
    • 5. Native modules
      • 5.1. Supported versions
      • 5.2. Prebuilt native modules
      • 5.3. Installing using mip
    • 6. External modules
      • 6.1. Supported versions
      • 6.2. Prerequisites
      • 6.3. Include external modules in build
  • Examples
    • Soundlevel using IIR filters (soundlevel_iir)
    • Human Activity Detection using classification trees (har_trees)
    • Digits recognition using Convolutional Neural Networks (mnist_cnn)
    • XOR classification using trees (xor_trees)
  • API reference
    • emlearn_trees - Decision tree ensemble inference
      • Model
      • load_model()
      • new()
    • emlearn_linreg - Linear regression
      • Model
      • new()
      • train()
    • emlearn_logreg - Logistic regression classification
      • Model
      • new()
      • train()
      • train_batches()
    • emlearn_extratrees - Learning decision tree ensembles
      • Model
      • new()
      • train_steps()
    • emlearn_plsr - Partial Least Squares Regression (PLSR)
      • Model
      • fit()
      • new()
    • emlearn_cnn - Convolutional Neural Networks inference
      • Model
      • new()
    • emlearn_neighbors - K Nearest Neighbors (KNN)
      • Model
      • new()
    • emlearn_fft - Fast Fourier Transform
      • FFT
      • fill()
    • emlearn_iir - Infinite Impulse Reponse filters
      • IIR
      • new()
    • emlearn_arrayutils - Efficient utilities for array.array
      • linear_map()
  • More
    • emlearn documentation
    • Presentations
      • Microcontrollers + Machine Learning in 1-2-3
      • MicroPython - Python for microcontrollers and embedded linux
      • Sensor data processing on microcontrollers with MicroPython and emlearn
      • Machine Learning on microcontrollers using MicroPython and emlearn
    • Other resources
  • The MIT License
emlearn-micropython
  • Welcome to emlearn-micropython’s documentation!
  • View page source

Welcome to emlearn-micropython’s documentation!

Contents

  • emlearn-micropython
    • Status
    • Features
    • Examples
    • Documentation
    • Citations
    • Developing
  • User Guide
    • 1. Getting started on PC (Linux/MacOS/Windows)
    • 2. Getting started on device (ESP32/RP2/STM32/etc)
    • 3. Getting started for browser
    • 4. Supported versions
    • 5. Native modules
    • 6. External modules
  • Examples
    • Soundlevel using IIR filters (soundlevel_iir)
    • Human Activity Detection using classification trees (har_trees)
    • Digits recognition using Convolutional Neural Networks (mnist_cnn)
    • XOR classification using trees (xor_trees)
  • API reference
    • emlearn_trees - Decision tree ensemble inference
    • emlearn_linreg - Linear regression
    • emlearn_logreg - Logistic regression classification
    • emlearn_extratrees - Learning decision tree ensembles
    • emlearn_plsr - Partial Least Squares Regression (PLSR)
    • emlearn_cnn - Convolutional Neural Networks inference
    • emlearn_neighbors - K Nearest Neighbors (KNN)
    • emlearn_fft - Fast Fourier Transform
    • emlearn_iir - Infinite Impulse Reponse filters
    • emlearn_arrayutils - Efficient utilities for array.array
  • More
    • emlearn documentation
    • Presentations
    • Other resources
  • The MIT License

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2014-2025, Jon Nordby.

Built with Sphinx using a theme provided by Read the Docs.