Hands-On Artificial Intelligence on Amazon Web Services
eBook - ePub

Hands-On Artificial Intelligence on Amazon Web Services

Decrease the time to market for AI and ML applications with the power of AWS

  1. 426 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Hands-On Artificial Intelligence on Amazon Web Services

Decrease the time to market for AI and ML applications with the power of AWS

About this book

Perform cloud-based machine learning and deep learning using Amazon Web Services such as SageMaker, Lex, Comprehend, Translate, and Polly

Key Features

  • Explore popular machine learning and deep learning services with their underlying algorithms
  • Discover readily available artificial intelligence(AI) APIs on AWS like Vision and Language Services
  • Design robust architectures to enable experimentation, extensibility, and maintainability of AI apps

Book Description

From data wrangling through to translating text, you can accomplish this and more with the artificial intelligence and machine learning services available on AWS.

With this book, you'll work through hands-on exercises and learn to use these services to solve real-world problems. You'll even design, develop, monitor, and maintain machine and deep learning models on AWS.

The book starts with an introduction to AI and its applications in different industries, along with an overview of AWS artificial intelligence and machine learning services. You'll then get to grips with detecting and translating text with Amazon Rekognition and Amazon Translate. The book will assist you in performing speech-to-text with Amazon Transcribe and Amazon Polly. Later, you'll discover the use of Amazon Comprehend for extracting information from text, and Amazon Lex for building voice chatbots. You will also understand the key capabilities of Amazon SageMaker such as wrangling big data, discovering topics in text collections, and classifying images. Finally, you'll cover sales forecasting with deep learning and autoregression, before exploring the importance of a feedback loop in machine learning.

By the end of this book, you will have the skills you need to implement AI in AWS through hands-on exercises that cover all aspects of the ML model life cycle.

What you will learn

  • Gain useful insights into different machine and deep learning models
  • Build and deploy robust deep learning systems to production
  • Train machine and deep learning models with diverse infrastructure specifications
  • Scale AI apps without dealing with the complexity of managing the underlying infrastructure
  • Monitor and Manage AI experiments efficiently
  • Create AI apps using AWS pre-trained AI services

Who this book is for

This book is for data scientists, machine learning developers, deep learning researchers, and artificial intelligence enthusiasts who want to harness the power of AWS to implement powerful artificial intelligence solutions. A basic understanding of machine learning concepts is expected.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Section 1: Introduction and Anatomy of a Modern AI Application

This section aims to introduce artificial intelligence (AI) and provide an overview of AI capabilities offered by Amazon Web Services (AWS). It will provide a step-by-step setup for AI development on AWS, including the AWS Software Development Kit (SDK) and Python development toolset. Additionally, it will give an introduction to the components and architecture of a modern AI application.
This section comprises the following chapters:
  • Chapter 1, Introduction to Artificial Intelligence on Amazon Web Services
  • Chapter 2, Anatomy of a Modern AI Application

Introduction to Artificial Intelligence on Amazon Web Services

In this chapter, we will start with a high-level overview of artificial intelligence (AI), including its history and the broad set of methods that it uses. Then, we will take a look at a few applications of AI that have the potential to profoundly change our world. With growing interests in AI, many companies, including Amazon, are offering a plethora of tools and services to help developers create intelligent-enabled applications. We will provide a high-level overview of AI offerings from Amazon Web Services, and we will also provide our guidance on how to best leverage them. Being a hands-on book, we will quickly dive into intelligent-enabled application development with Amazon Web Services.
We will cover the following topics:
  • Overview of AI and its applications.
  • Understanding the different types of Amazon Web Services offerings for AI.
  • How to set up an Amazon Web Services account and the environment for intelligent-enabled application development.
  • Get hands-on experience with Amazon Rekognition and other supporting services.
  • Develop our first intelligent-enabled application.

Technical requirements

This book's GitHub repository, which contains the source code for this chapter, can be found at https://github.com/PacktPublishing/Hands-On-Artificial-Intelligence-on-Amazon-Web-Services.

What is AI?

AI is an umbrella term that describes a branch of computer science that aims to create intelligent agents. The field of AI is highly technical and specialized; there is a broad set of theories, methods, and technologies in AI that allow computers to see (computer vision), to hear (speech recognition), to understand (natural language processing), to speak (text-to-speech), and to think (knowledge reasoning and planning).
It may seem that AI is a buzzword of our current times, but it has existed since the 1950s, when early work on artificial neural networks that mimic led the human brain stirred up excitement for thinking machines. With all the fanfare it receives in the media today, it is hard to believe that this field had to endure two AI winters, where interest in AI research and development dwindled. Today, AI has become popular again, thanks to the increased volume of data, cheaper storage, advancements in algorithms, and an increase in computing power.
One of the most important subfields of AI is machine learning (ML). ML is such a prominent part of AI that these two terms are often used interchangeably today. ML is the most promising set of techniques to achieve AI. These techniques gave us a new way to program computers through self-learning algorithms that can derive knowledge from data. We can train ML models that can look for patterns and draw conclusions like humans would. With these self-learning algorithms, the data itself has become the most valuable asset. Data has become the competitive advantage in industries; it is the new intellectual property. Between similar ML techniques (even inferior ML techniques), the best data will win.
What's old is new again. Artificial neural networks, once again, became the focus for ML research and development. More data, more compute, and new algorithms such as backpropagation, are enabling neural networks to have many hidden layers, also known as deep neural networks or deep learning. The increase in the accuracy of deep neural network models was almost impossible just a few years ago. Today, deep learning is the major breakthrough that is driving the modern-day AI boom. This combination of data, software, and hardware is creating a new breed of intelligent agents that can often see, hear, understand, speak, and even think like humans when provided with abundant information that is related to the world.
AI has become a vital part of the technology landscape. Businesses, big and small, are solving problems by leveraging AI. AI capabilities are seeping into every aspect of our lives, giving us better memory, better vision, better cognitive abilities, and much more. In most cases, AI will not be sold as the product by itself. Rather, products you already use will be improved with AI, and will become intelligent-enabled solutions. What is most exciting to us is the democratization of AI and ML technologies and services. The abundance of such technologies and services means practitioners can easily leverage AI to add intelligence to products that affects the way we live, work, and play.
This book will help you become an AI practitioner. We will teach you, through hands-on projects, the tools and techniques that are needed to embed AI capabilities into software solutions. Successful intelligent-enabled solutions require a combination of architecture design, software engineering, and data science. You will learn how to design, develop, deploy, and maintain production-grade software solutions with AI capabilities. As an AI practitioner, it is important to see AI through the lens of business capabilities, rather than just technologies. This book aims to bring together various skills to help you develop an intuition for well-designed intelligent-enabled solutions that solve real-world problems.

Applications of AI

Our lives have already been greatly impacted by applications of AI, including the way we search for information, shop for products, communicate with each other, and much more. However, we are only in the nascency of this intelligent software renaissance. So many amazing AI applications already exist, so let's look at a few examples.

Autonomous vehicles

One AI application that's getting much media attention is autonomous vehicles, also known as self-driving cars. These vehicles are capable of perceiving the world around them, and drive with little or no human intervention.
These autonomous vehicles are the perfect fusion of sensors and AI technologies that have been combined to create the self-driving capability. To develop the self-driving capability, these vehicles have logged millions of miles on highways and local roads, and billions more in simulations. Gobs of data coming from arrays of sensors, including cameras, radar, lidar, sonar, GPS, and many more, are used to train numerous ML models to perform the various perception and actuation tasks that are required to move vehicles safely in real-world conditions. The resulting AI capabilities, such as computer vision, object detection, predictive modeling, and obstacle avoidance algorithms, can create complex models of the environment that onboard computers can understand in order to control, to plot paths, and to navigate.
Self-driving technology is less error-prone than human drivers, and can potentially save hundreds of thousands of lives from crashes and accidents. This technology can also be a mobility provider for individuals who are unable to drive themselves, such as the elderly or disabled. At the time of writing, there are no true fully autonomous vehicles in large deployment in the world. We can't even imagine how this technology will reshape and mold our world in the decades to come.

AI in medical care

AI and ML is starting to transform the healthcare industry. These technologies are being used to improve diagnost...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. About Packt
  4. Contributors
  5. Preface
  6. Section 1: Introduction and Anatomy of a Modern AI Application
  7. Introduction to Artificial Intelligence on Amazon Web Services
  8. Anatomy of a Modern AI Application
  9. Section 2: Building Applications with AWS AI Services
  10. Detecting and Translating Text with Amazon Rekognition and Translate
  11. Performing Speech-to-Text and Vice Versa with Amazon Transcribe and Polly
  12. Extracting Information from Text with Amazon Comprehend
  13. Building a Voice Chatbot with Amazon Lex
  14. Section 3: Training Machine Learning Models with Amazon SageMaker
  15. Working with Amazon SageMaker
  16. Creating Machine Learning Inference Pipelines
  17. Discovering Topics in Text Collection
  18. Classifying Images Using Amazon SageMaker
  19. Sales Forecasting with Deep Learning and Auto Regression
  20. Section 4: Machine Learning Model Monitoring and Governance
  21. Model Accuracy Degradation and Feedback Loops
  22. What Is Next?
  23. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Hands-On Artificial Intelligence on Amazon Web Services by Subhashini Tripuraneni,Charles Song in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.