Artificial Intelligence By Example
eBook - ePub

Artificial Intelligence By Example

Acquire advanced AI, machine learning, and deep learning design skills, 2nd Edition

Denis Rothman

  1. 578 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Artificial Intelligence By Example

Acquire advanced AI, machine learning, and deep learning design skills, 2nd Edition

Denis Rothman

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Understand the fundamentals and develop your own AI solutions in this updated edition packed with many new examples

Key Features

  • AI-based examples to guide you in designing and implementing machine intelligence
  • Build machine intelligence from scratch using artificial intelligence examples
  • Develop machine intelligence from scratch using real artificial intelligence

Book Description

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.

What you will learn

  • Apply k-nearest neighbors (KNN) to language translations and explore the opportunities in Google Translate
  • Understand chained algorithms combining unsupervised learning withdecision trees
  • Solve the XOR problem with feedforward neural networks (FNN) and buildits architecture to represent a data flow graph
  • Learn about meta learning models withhybrid neural networks
  • Create a chatbot and optimize its emotional intelligence deficiencies withtools such as Small Talk and data logging
  • Building conversational user interfaces (CUI) for chatbots
  • Writing genetic algorithms that optimizedeep learning neural networks
  • Build quantum computing circuits

Who this book is for

Developers and those interested in AI, who want to understand the fundamentals of Artificial Intelligence and implement them practically. Prior experience with Python programming and statistical knowledge is essential to make the most out of this book.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Artificial Intelligence By Example est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Artificial Intelligence By Example par Denis Rothman en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatique et Intelligence artificielle (IA) et sĂ©mantique. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2020
ISBN
9781839212819

11

Combining Reinforcement Learning and Deep Learning

Amazon is one of the world's leading e-retailers, with sales over US$ 250 billion. Amazon's e-store sales exceed all of its other activities, such as AWS subscription services (premium, for example), retail third-party seller services, and physical stores.
This chapter focuses on apparel production activity, one of Amazon's markets for which the company recently registered a patent. Prime Wardrobe even offers a try-and-easy-return service. This new activity requires planning and scheduling. Amazon took the matter seriously and registered a patent for an apparel manufacturing system to control the production process of its apparel products.
Artificial intelligence already plays a role in automatic planning and scheduling in the apparel business, from customer orders through to delivery.
Google has successfully combined deep learning and reinforcement learning (Q-learning) in a deep Q-network (DQN), a system that can beat humans at video games and other tasks. Google's AlphaGo DQN has obtained impressive results.
In this chapter, we go beyond merely describing Amazon's process or Google's process in particular. I added on my real-life implementations of what we will explore and build in Python from scratch. As such, we will combine the ideas of several systems (Amazon, Google, and my implementations).
We will add an innovation for the apparel manufacturing industry by adding a conceptual representation learning metamodel (CRLMM) to reinforcement learning.
We will go from scratch to a prototype that could be implemented on-site, the foundations are being established for further applications in the coming chapters.
The following topics will be covered in this chapter:
  • Planning and scheduling today and tomorrow
  • Further generalization of the CRLMM described in Chapter 10, Conceptual Representation Learning, applied to an apparel production process
  • Feeding the CRLMM convolutional neural network (CNN) with a simulation of frames coming from a webcam on a production line
  • Introducing an optimizer that will use weights applied to production stations to input a reward matrix to a Markov decision process (MDP), which will then update the weights
  • Building a program that will run continuously (no beginning, no end) on a production line using all the three components mentioned previously
We'll begin by talking about planning and scheduling today and tomorrow. The market is slowing moving from preplanned processes to real-time processes. Let's see how.

Planning and scheduling today and tomorrow

When Amazon decided to launch Prime Wardrobe, it brought a new service to its customers, enabling them to order, try out, and purchase clothing, shoes, and other accessories. The customer can establish a purchase plan. A purchase plan is a list of tasks to be carried out in a given time. An example of a purchase plan could be:
  • Filling a box with clothing
  • Trying on the clothing at home
  • Returning the clothing if it does not fit
  • Purchasing the items that are kept
Once the customer agrees to follow this plan, the time sequence becomes crucial:
  • First, a box must be chosen.
  • Then, there is a delivery period.
  • Then, there is a trial period (you cannot try the products forever). During this period, the customer can choose not to purchase anything.
  • Finally, the customer confirms the purchase.
Irrespective of whether Amazon Prime Wardrobe will remain a service in years to come, the precedent is set; just as physical book stores disappear every year, shopping for clothing online will continue to expand and occupy more of the market.
On top of that distribution, corporations will continue to expand their production sites to become manufacturing-distributing giants. Warehouses will progressively replace many stores as per the warehouse examples provided in some of the chapters in this book.
Supply chain management (SCM), combined with APS, has become a necessity. SCM-APS constraints vary constantly on a global market (depending on the manufacturer). APS stands for advanced planning and scheduling or automated planning and scheduling. We will explore the difference between these two concepts in a following section, A real-time manufacturing revolution. We will go beyond Amazon's approach to the subject since delivering in real-time has become a constraint for all of the actors on the market.
The pressure of the market has encouraged Amazon to produce its own clothing. Amazon has produced its in-house fashion labels with apparel and accessories sold worldwide.
To prove that it means business, Amazon registered several patents, including one for a blended reality mirror, an apparel manufacturing system, and more. With a blended reality mirror, a person can visualize how the clothing will fit.
In the following sections, we will explore the planning and scheduling side of Amazon's apparel in-house manufacturing plans, which will have the same effect on apparel factories as it did on physical book stores and all types of shops. Many new jobs will emerge, such as hundreds of thousands of jobs in the artificial intelligence business, on websites, and in marketing and SCM. Many jobs will disappear as well. The improvements...

Table des matiĂšres

  1. Preface
  2. Getting Started with Next-Generation Artificial Intelligence through Reinforcement Learning
  3. Building a Reward Matrix – Designing Your Datasets
  4. Machine Intelligence – Evaluation Functions and Numerical Convergence
  5. Optimizing Your Solutions with K-Means Clustering
  6. How to Use Decision Trees to Enhance K-Means Clustering
  7. Innovating AI with Google Translate
  8. Optimizing Blockchains with Naive Bayes
  9. Solving the XOR Problem with a Feedforward Neural Network
  10. Abstract Image Classification with Convolutional Neural Networks (CNNs)
  11. Conceptual Representation Learning
  12. Combining Reinforcement Learning and Deep Learning
  13. AI and the Internet of Things (IoT)
  14. Visualizing Networks with TensorFlow 2.x and TensorBoard
  15. Preparing the Input of Chatbots with Restricted Boltzmann Machines (RBMs) and Principal Component Analysis (PCA)
  16. Setting Up a Cognitive NLP UI/CUI Chatbot
  17. Improving the Emotional Intelligence Deficiencies of Chatbots
  18. Genetic Algorithms in Hybrid Neural Networks
  19. Neuromorphic Computing
  20. Quantum Computing
  21. Answers to the Questions
  22. Other Books You May Enjoy
  23. Index
Normes de citation pour Artificial Intelligence By Example

APA 6 Citation

Rothman, D. (2020). Artificial Intelligence By Example (2nd ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/1388453/artificial-intelligence-by-example-acquire-advanced-ai-machine-learning-and-deep-learning-design-skills-2nd-edition-pdf (Original work published 2020)

Chicago Citation

Rothman, Denis. (2020) 2020. Artificial Intelligence By Example. 2nd ed. Packt Publishing. https://www.perlego.com/book/1388453/artificial-intelligence-by-example-acquire-advanced-ai-machine-learning-and-deep-learning-design-skills-2nd-edition-pdf.

Harvard Citation

Rothman, D. (2020) Artificial Intelligence By Example. 2nd edn. Packt Publishing. Available at: https://www.perlego.com/book/1388453/artificial-intelligence-by-example-acquire-advanced-ai-machine-learning-and-deep-learning-design-skills-2nd-edition-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Rothman, Denis. Artificial Intelligence By Example. 2nd ed. Packt Publishing, 2020. Web. 14 Oct. 2022.