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 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Artificial Intelligence By Example

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

Denis Rothman

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Artificial Intelligence By Example un PDF/ePUB en línea?
Sí, puedes acceder a Artificial Intelligence By Example de Denis Rothman en formato PDF o ePUB, así como a otros libros populares de Informatique y Intelligence artificielle (IA) et sémantique. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
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...

Índice

  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
Estilos de citas para 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.