Tags:
tag this topic
create new tag
view all tags
---+ The Hello World example ---++ Introduction The Hello World example demonstrates a <b>regression model </b>implemented as a neural network with an input layer of a single scalar value (the *x* parameter of y=sin(x)) , a hidden layer of 16 neurons and an output layer, again of a single scalar value (the<b> y</b> in y=sin(x)). To train the network a data set of 1000 values of the sin function is used onto which a small random noise is added. Once trained we can predict sin(x) for any value of x. Like most "Hello World" type programs this is pretty useless since we can get the precise value of sin(x) very easily, but it shows the principles of * how a neural network regression model can be implemented and trained * how the trained model can be converted into a model that can run on a micro-controller * and it shows that the infrastructure for building and employing ML models on the ESP32 is in place and is working correctly. ---++ Different versions of the Hello World example found on the Internet The example program comes in different version * the [[hello_world tflite-micro version]] which is part of the tflite-micro github repository * the [[hello_world Arduino version]] written in C++ * the [[hello_world ESP-IDF version]] * the [[hello_world !MicroPython version]] -- %USERSIG{UliRaich - 2022-01-31}% ---++ Comments <br />%COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2023-12-18
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
IoT_Course_English Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback