Giter Site home page Giter Site logo

tearitco / makeit-how-to-deploy-a-linear-regression-on-arduino-nano-33 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baptistezloch/makeit-how-to-deploy-a-linear-regression-on-arduino-nano-33

0.0 0.0 0.0 104 KB

This repository is dedicated to the first tutorial of my YouTube channel.

C 56.66% C++ 9.02% Jupyter Notebook 34.32%

makeit-how-to-deploy-a-linear-regression-on-arduino-nano-33's Introduction

MakeIT-How-to-deploy-a-linear-regression-on-Arduino-Nano-33

This repository is dedicated to the first tutorial of my YouTube channel: MakeIT. This tutorial is called "How to deploy a linear regression on Arduino Nano 33 ?" available here.

You can find below the pipeline to develope a TinyML project :

Pipeline

The linear regression is designed using Tensorflow and Keras with only one layer of one neurone. This network has been trained on 2 numpy arrays x and y with y=2x+1. Then this model has been exported into a none quantized tflite model. After that I have used xxd tool to create a .h file containing an hexadecimal array with the the neural network's parameters.

Here is a schema of the neural network :

Neural network

In this part I have used VS code and platformIO IDE to deploy the model onto the Arduino nano 33 BLE sense. To do it we had to import our model, and a library to deploy it. I have choosen EloquentTinyML.h. This library uses Tensorflow lite micro core and simplify the deployement. For another tutorial I will show you how to use directly tensorflow lite micro core.

Here is the result of the inferences (quite accurate) :

Results of the prediction

makeit-how-to-deploy-a-linear-regression-on-arduino-nano-33's People

Contributors

baptistezloch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.