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 a Cognitive NLP UI/CUI Chatbot

There are 300,000+ chatbots on Facebook alone. Adding another brick in that wall means next to nothing unless you give your chatbot a purpose and provide it with real content. Cognitive content represents the core goal of attracting more attention than your hundreds of thousands of competitors and SEO experts. We will put RBM-PCA chained algorithms to work in this chapter to bring a chatbot to another level. We will use the information provided by the RBM-PCA to design our dialog.

As you will discover in this first section, creating an agent with Dialogflow and beginning a dialog represents no effort at all. Google Dialogflow provides the intuitive features to get a chatbot running in no time. The Dialogflow tutorial can guide you to reach this simple goal in a few minutes. Understanding what an agent is, teaching it to ask a question, and providing an answer can be done by a 10-year-old child. I experimented...