Book Image

Artificial Intelligence By Example - Second Edition

By : Denis Rothman
Book Image

Artificial Intelligence By Example - Second Edition

By: Denis Rothman

Overview of this book

AI has the potential to replicate humans in every field. Artificial Intelligence By Example, Second Edition serves as a starting point for you to understand how AI is built, with the help of intriguing and exciting examples. This book will make you an adaptive thinker and help you apply concepts to real-world scenarios. Using some of the most interesting AI examples, right from computer programs such as a simple chess engine to cognitive chatbots, you will learn how to tackle the machine you are competing with. You will study some of the most advanced machine learning models, understand how to apply AI to blockchain and Internet of Things (IoT), and develop emotional quotient in chatbots using neural networks such as recurrent neural networks (RNNs) and convolutional neural networks (CNNs). This edition also has new examples for hybrid neural networks, combining reinforcement learning (RL) and deep learning (DL), chained algorithms, combining unsupervised learning with decision trees, random forests, combining DL and genetic algorithms, conversational user interfaces (CUI) for chatbots, neuromorphic computing, and quantum computing. By the end of this book, you will understand the fundamentals of AI and have worked through a number of examples that will help you develop your AI solutions.
Table of Contents (23 chapters)
21
Other Books You May Enjoy
22
Index

Setting up the RL-DL-CRLMM model

This section describes how to set up the previous chapter's model for this project and add a few functions.

In Chapter 11, Combining Reinforcement Learning and Deep Learning, the RL-DL-CRLMM model analyzed webcam images of pieces of cut cloth to be sewed in real-time on a conveyor belt. The goal was to determine if they contained a gap (not too many pieces to sew) or not (a lot of pieces to sew). Then the model selected the best sewing station. A sewing station with a lot of work to do is best optimized with a small number of pieces to sew. A sewing station with little work to do will be best optimized with a large number of pieces to sew. By doing this, the RL-DL-CRLMM optimized the load on each sewing station, as shown in the following diagram:

Figure 12.1: Apparel production flow

This leads to the following circular optimizing model:

Figure 12.2: Circular RL-DL-CRLMM

This RL-DL-CRLMM model that we explored...