Book Image

Artificial Intelligence for IoT Cookbook

By : Michael Roshak
Book Image

Artificial Intelligence for IoT Cookbook

By: Michael Roshak

Overview of this book

Artificial intelligence (AI) is rapidly finding practical applications across a wide variety of industry verticals, and the Internet of Things (IoT) is one of them. Developers are looking for ways to make IoT devices smarter and to make users’ lives easier. With this AI cookbook, you’ll be able to implement smart analytics using IoT data to gain insights, predict outcomes, and make informed decisions, along with covering advanced AI techniques that facilitate analytics and learning in various IoT applications. Using a recipe-based approach, the book will take you through essential processes such as data collection, data analysis, modeling, statistics and monitoring, and deployment. You’ll use real-life datasets from smart homes, industrial IoT, and smart devices to train and evaluate simple to complex models and make predictions using trained models. Later chapters will take you through the key challenges faced while implementing machine learning, deep learning, and other AI techniques, such as natural language processing (NLP), computer vision, and embedded machine learning for building smart IoT systems. In addition to this, you’ll learn how to deploy models and improve their performance with ease. By the end of this book, you’ll be able to package and deploy end-to-end AI apps and apply best practice solutions to common IoT problems.
Table of Contents (11 chapters)

What this book covers

Chapter 1, Setting Up the IoT and AI Environment, will focus on getting the right environment set up for success. You will learn how to choose a device that meets your needs for AI, whether that model needs to be on the edge or in the cloud. You will also learn how to securely communicate with modules within a device, other devices, or the cloud. Finally, you will set up a way to ingest data in the cloud and then set up Spark and AI tools to perform analysis of data, train models, and run machine learning models at scale.

Chapter 2, Handling Data, talks about the basics of ensuring that data in any format can be used by data scientists effectively.

Chapter 3, Machine Learning for IoT, will discuss using machine learning models such as logistic regression and decision trees to solve common IoT issues such as classifying medical results, detecting unsafe drivers, and classifying chemical readings.

Chapter 4, Deep Learning for Predictive Maintenance, will focus on various classification techniques to enable IoT devices to be smart devices.

Chapter 5, Anomaly Detection, will explain how when alarm detection does not classify a particular issue, it can lead to the discovery of issues, and how if a device is acting in an anomalous way, you might want to send out a repair worker to examine the device.

Chapter 6, Computer Vision, will discuss implementing computer vision in the cloud as well as on edge devices such as NVIDIA Jetson Nano.

Chapter 7, NLP and Bots for a Self-Ordering Kiosk, will discuss using NLP and using bots to enable interaction with users ordering foods at a restaurant kiosk.

Chapter 8, Optimizing with Microcontrollers and Pipelines, will discuss how reinforcement learning can be used with a smart traffic intersection to make traffic light decisions that decrease the wait time at traffic lights and allow traffic to flow better.

Chapter 9, Deploying to the Edge, will discuss various ways of applying pre-trained machine learning models to an edge device. This chapter will discuss IoT Edge in detail. Deploying is an important part of the AI pipeline. This chapter will also talk about deploying machine learning models to web applications and mobile using TensorFlow.js and ONNX.