Skip to content

azugfr/RedShirtTour-IoT-Edge-AI-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedShirtTour-IoT-Edge-AI-Lab

(pour le français, cf. README-FR.md)

Authors : Artem SHEIKO + Taras CHIEN Directed by : Vincent Thavonekham + Igor Leontiev

Nowadays customers are increasingly looking for ways to obtain insights from all their data. Volume, speed and complexity of data now defeats traditional analytics tools, that’s why more and more customers now realize that traditional approaches in conjunction with Business Intelligence are not enough. While Business Intelligence addresses descriptive and diagnostic analysis, Data Science unlocks new opportunities through predictive and prescriptive analysis. This causes a high demand for solutions using Data Science and Machine Learning in a near-real time that can adapt to a rapidly changing environment, that can work « at the edge » (i.e. directly on the sensors’ side, thanks to “Edge Computing”).

Through various Labs, we are going to focus on an innovative part consisting in working with devices “at the edge” with Machine Learning processing, in near-real time. All disconnected from the Cloud, but with a Cloud management and supervision as soon as the connectivity is back.


The Labs are based on true example of Drones transporting parcels, but with simplified assumptions to ease the understanding. The Drones has to take decisions real-time based on its sensors, and the telemetry sent to the Cloud will help predict maintenance time.

IoT Edge with emedded Machine Learning inside a Drone. Image source : openfogconsortium.org

>image source: https://www.openfogconsortium.org

Here is the overall architecture of the Labs Overall architecture of the Labs

Learn how to create a custom logic modules, use Azure Stream Analytics and Machine Learning module during IoT Edge Runtime, send information to IoT Hub and visualize the results through Azure Time Series Insights in the first series of Hands-On Labs. In this series, you will see how you can use a simple dataset and Logistic Regression model to predict a severity status of drone’s state. The architecture of the solution is presented below.

Simplified hypothesis for the sake of this HOL (see advanced and realistic version in the PDF):

In this HOL, the Data Generation module (that mimics the Drone) sends real-time data to Azure Stream Analytics (ASA).

However, often times, data are corrupted or could be wrong. Here, let us assume that we are tracking if the battery with two cells sends back a realistic value.

ASA aggregates the data so that less data are streamed across the wire to Azure, then the next module is able to detect the corruption in real-time:

  • If one cell of the battery is KO, we are raising an error, then we call the module “Data treatment” to correct the error (by taking the default expected value, multiply by the number of expected cells)
  • If everything is fine, there is no post-data treatment

In all cases, we perform a ML treatment (using “Python ML Model” written using Azure ML).

Finally, we send all this to Azure Cloud, hitting Azure IoT Hub, then display all this on TimeSeries Insights

Get started quickly with Hands-On Labs :

For more examples discover more examples in Next Steps.

RedShirtTour-IoT-Edge-AI-Lab-VMTemplate

//Prepared VM with preinstaled software for the HOL

Deploy to Azure

/!\ Attention. The exectuion of script can take long, due to the size of VM (127 GB), also you can arrive of Timeout Exeption

This is Work-In-Progress so new Labs will be added and others will be refined on an on-going basis.

Souvenir of the RedShirtTour

These 10 Labs has been made public and presented when Scott Guthrie came over in Paris during the Microsoft RedShirt Tour https://twitter.com/hashtag/redshirtdevtour?src=hash https://twitter.com/ShelPF/status/955804078122168321?s=20 https://twitter.com/vThavo/status/955806487988850688?s=20

Here is a souvenir of us with Scott Gu !

Vincent Thavonekham & Artem Sheiko next to THE MAN, Scott Guthrie

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •