Book description
Implement machine learning and deep learning techniques to perform predictive analytics on real-time IoT data
Key Features
- Discover quick solutions to common problems that you'll face while building smart IoT applications
- Implement advanced techniques such as computer vision, NLP, and embedded machine learning
- Build, maintain, and deploy machine learning systems to extract key insights from IoT data
Book Description
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.
What you will learn
- Explore various AI techniques to build smart IoT solutions from scratch
- Use machine learning and deep learning techniques to build smart voice recognition and facial detection systems
- Gain insights into IoT data using algorithms and implement them in projects
- Perform anomaly detection for time series data and other types of IoT data
- Implement embedded systems learning techniques for machine learning on small devices
- Apply pre-trained machine learning models to an edge device
- Deploy machine learning models to web apps and mobile using TensorFlow.js and Java
Who this book is for
If you're an IoT practitioner looking to incorporate AI techniques to build smart IoT solutions without having to trawl through a lot of AI theory, this AI IoT book is for you. Data scientists and AI developers who want to build IoT-focused AI solutions will also find this book useful. Knowledge of the Python programming language and basic IoT concepts is required to grasp the concepts covered in this artificial intelligence book more effectively.
Table of contents
- Title Page
- Copyright and Credits
- Contributors
- Preface
-
Setting Up the IoT and AI Environment
- Choosing a device
- Dev kits
- Manifold 2-C with NVIDIA TX2
- The i.MX series
- LattePanda
- Raspberry Pi Class
- Arduino
- ESP8266
- Setting up Databricks
- Storing data
- Parquet
- Avro
- Delta Lake
- Setting up IoT Hub
- Getting ready
- How to do it...
- How it works...
- Setting up an IoT Edge device
- Getting ready
- How to do it...
- Configuring an IoT Edge device (cloud side)
- Configuring an IoT Edge device (device side)
- How it works...
- Deploying ML modules to Edge devices
- Getting ready
- How to do it...
- How it works...
- There's more...
- Setting up Kafka
- Getting ready
- How to do it...
- How it works...
- There's more...
- Installing ML libraries on Databricks
- Getting ready
- How to do it...
- Importing TensorFlow
- Installing PyTorch
- Installing GraphX and GraphFrames
- How it works...
-
Handling Data
- Storing data for analysis using Delta Lake
- Getting ready
- How to do it...
- How it works...
- Data collection design
- Getting ready
- How to do it...
- Variance
- Z-Spikes
- Min/max
- Windowing
- Getting ready
- How to do it...
- Tumbling
- Hopping
- Sliding
- How it works...
- Exploratory factor analysis
- Getting ready
- How to do it...
- Visual exploration
- Chart types
- Redundant sensors
- Sample co-variance and correlation
- How it works...
- There's more...
- Implementing analytic queries in Mongo/hot path storage
- Getting ready
- How to do it...
- How it works...
- Ingesting IoT data into Spark
- Getting ready
- How to do it...
- How it works...
-
Machine Learning for IoT
- Analyzing chemical sensors with anomaly detection
- Getting ready
- How to do it...
- How it works...
- There's more...
- Logistic regression with the IoMT
- Getting ready
- How to do it...
- How it works...
- There's more...
- Classifying chemical sensors with decision trees
- How to do it...
- How it works...
- There's more...
- Simple predictive maintenance with XGBoost
- Getting ready
- How to do it...
- How it works...
- Detecting unsafe drivers
- Getting ready
- How to do it...
- How it works...
- There's more...
- Face detection on constrained devices
- Getting ready
- How to do it...
- How it works...
-
Deep Learning for Predictive Maintenance
- Enhancing data using feature engineering
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using keras for fall detection
- Getting ready
- How to do it...
- How it works...
- There's more...
- Implementing LSTM to predict device failure
- Getting ready
- How to do it...
- How it works...
- Deploying models to web services
- Getting ready
- How to do it...
- How it works...
- There's more...
-
Anomaly Detection
- Using Z-Spikes on a Raspberry Pi and Sense HAT
- Getting ready
- How to do it...
- How it works...
- Using autoencoders to detect anomalies in labeled data
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using isolated forest for unlabeled datasets
- Getting ready
- How to do it...
- How it works...
- There's more...
- Detecting time series anomalies with Luminol
- Getting ready
- How to do it...
- How it works...
- There's more...
- Detecting seasonality-adjusted anomalies
- Getting ready
- How to do it...
- How it works...
- Detecting spikes with streaming analytics
- Getting ready
- How to do it...
- How it works...
- Detecting anomalies on the edge
- Getting ready
- How to do it...
- How it works...
-
Computer Vision
- Connecting cameras through OpenCV
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using Microsoft's custom vision to train and label your images
- Getting ready
- How to do it...
- How it works...
- Detecting faces with deep neural nets and Caffe
- Getting ready
- How to do it...
- How it works...
- Detecting objects using YOLO on Raspberry Pi 4
- Getting ready
- How to do it...
- How it works...
- Detecting objects using GPUs on NVIDIA Jetson Nano
- Getting ready
- How to do it...
- How it works...
- There's more...
- Training vision with PyTorch on GPUs
- Getting ready
- How to do it...
- How it works...
- There's more...
-
NLP and Bots for Self-Ordering Kiosks
- Wake word detection
- Getting ready
- How to do it...
- How it works...
- There's more...
- Speech-to-text using the Microsoft Speech API
- Getting ready
- How to do it...
- How it works...
- Getting started with LUIS
- Getting ready
- How to do it...
- How it works...
- There's more...
- Implementing smart bots
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating a custom voice
- Getting ready
- How to do it...
- How it works...
- Enhancing bots with QnA Maker
- Getting ready
- How to do it...
- How it works...
- There's more...
-
Optimizing with Microcontrollers and Pipelines
- Introduction to ESP32 with IoT
- Getting ready
- How to do it...
- How it works...
- There's more...
- Implementing an ESP32 environment monitor
- Getting ready
- How to do it...
- How it works...
- There's more...
- Optimizing hyperparameters
- Getting ready
- How to do it...
- How it works...
- Dealing with BOM changes
- Getting ready
- How to do it...
- How it works...
- There's more...
- Building machine learning pipelines with sklearn
- Getting ready
- How to do it...
- How it works...
- There's more...
- Streaming machine learning with Spark and Kafka
- Getting ready
- How to do it...
- How it works...
- There's more...
- Enriching data using Kafka's KStreams and KTables
- Getting ready
- How to do it...
- How it works...
- There's more...
-
Deploying to the Edge
- OTA updating MCUs
- Getting ready
- How to do it...
- How it works...
- There's more...
- Deploying modules with IoT Edge
- Getting ready
- Setting up our Raspberry Pi
- Coding setup
- How to do it...
- How it works...
- There's more...
- Offloading to the web with TensorFlow.js
- Getting ready
- How to do it...
- How it works...
- There's more...
- Deploying mobile models
- Getting ready
- How to do it...
- How it works...
- Maintaining your fleet with device twins
- Getting ready
- How to do it...
- How it works...
- There's more...
- Enabling distributed ML with fog computing
- Getting ready
- How to do it...
- How it works...
- There's more...
- About Packt
Product information
- Title: Artificial Intelligence for IoT Cookbook
- Author(s):
- Release date: March 2021
- Publisher(s): Packt Publishing
- ISBN: 9781838981983
You might also like
book
Hands-On Artificial Intelligence for IoT
Build smarter systems by combining artificial intelligence and the Internet of Things - two of the …
book
Artificial Intelligence with Python Cookbook
Work through practical recipes to learn how to solve complex machine learning and deep learning problems …
book
Artificial Intelligence in Practice
Cyber-solutions to real-world business problems Artificial Intelligence in Practice is a fascinating look into how companies …
book
Grokking Artificial Intelligence Algorithms
Grokking Artificial Intelligence Algorithms is a fully-illustrated and interactive tutorial guide to the different approaches and …