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

Machine learning agents

An NLP chatbot cannot function without machine learning for text recognition, utterances, sentences, speech, entities, intents, and many other aspects of a dialog.

In this section, we will explore the following:

  • Speech-to-text
  • Text-to-speech
  • Spelling correction

Let's see how we can apply machine learning in each of these contexts.

Using machine learning in a chatbot

Generally, when we hear of machine learning in a chatbot, we think of a machine learning program running during a dialog as a response.

In this section, we will focus on how machine learning is used to improve a chatbot and to make it work.

Speech-to-text

Without a speech-to-text function, there is no way you can implement a chatbot or any speech application on a smart speaker such as Google Home or Amazon Echo. Smart speakers are going to play an increasing part in our lives in the years to come.

Click on the settings button next...