Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
$9.99 | ALL EBOOKS & VIDEOS
Over 7,000 tech titles at $9.99 each with AI-powered learning assistants on new releases
Democratizing Artificial Intelligence with UiPath
Democratizing Artificial Intelligence with UiPath

Democratizing Artificial Intelligence with UiPath: Expand automation in your organization to achieve operational efficiency and high performance

By Fanny Ip , Jeremiah Crowley
$43.99 $9.99
Book Apr 2022 376 pages 1st Edition
eBook
$43.99 $9.99
Print
$54.99
Subscription
$15.99 Monthly
eBook
$43.99 $9.99
Print
$54.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now
Table of content icon View table of contents Preview book icon Preview Book

Democratizing Artificial Intelligence with UiPath

Chapter 1: Understanding Essential Artificial Intelligence Basics for RPA Developers

In this chapter, we will cover some key artificial intelligence (AI) concepts that are relevant in your daily work as an RPA developer. We will discover where a robotic process automation (RPA) developer can make the most impact on implementing cognitive automation in RPA use cases without becoming a data scientist. We will also look at real business problems today that are solved by AI.

In this chapter, we will cover the following main topics:

  • Understanding key AI concepts
  • Understanding cognitive automation
  • Exploring out-of-the-box (OOTB) machine learning (ML) models for RPA developers

By the end of the chapter, you will be equipped with common AI fundamentals, and you will be inspired by real-life examples to help you start thinking about how to apply AI to your potential use cases.

Understanding key AI concepts

You may have come across many terms when you started exploring the topic of AI. We will demystify AI and only present those concepts that are most relevant to you as an RPA developer. Please note that you may come across other material with slightly different definitions based on a different context.

Differentiating between artificial intelligence, machine learning, and deep learning

AI, ML, and deep learning (DL) are related but not the same. The following figure illustrates the hierarchy of these types of learning:

Figure 1.1 – AI, ML, and DL

Figure 1.1 – AI, ML, and DL

  • AI: This is equivalent to giving a machine or a robot the ability to think. It encompasses ML and DL.
  • ML: This refers to how a machine or a robot learns to think through algorithms without explicit programming. ML is a subset of AI.
  • DL: This refers to how an ML algorithm leverages artificial neural networks to mimic learning. DL is a subset of ML.

Next, we will look at three key considerations when choosing between ML and DL. They are listed here:

  • Data requirement and availability
  • Computational power
  • Training time

The following figure shows a comparison of ML and DL:

Figure 1.2 – Comparison of ML and DL

Figure 1.2 – Comparison of ML and DL

In ML, the features of the studied subjects are fed into the algorithms for the machine to learn. We can think of features as us giving hints to the algorithm. This step allows for a smaller dataset, lower computational power, and less training time.

In DL, features are determined by artificial neural networks. It needs to work much harder to figure out the features and patterns to learn. As a result, it requires a large amount of data, high computational power, and a long training time.

Although DL is valuable, it is beyond the reach of most businesses to develop DL models to solve their business problems. Fortunately, many DL models have been pre-trained by companies with the time and budget to make them accessible to a large user base.

The implication of this option means that your role as an RPA developer is not to create these models. You, as the RPA developer, are the trainer of these models. It is important to understand the role of training in AI.

Appreciating the relevance of supervised learning, unsupervised learning, and reinforcement learning in AI

As we learned in the previous section, AI is about training a machine or a robot to think. Just like a human being, a robot needs to learn. There are three different types of learning for a robot.

The following figure gives some analogies for supervised learning, unsupervised learning, and reinforced learning:

Figure 1.3 – Supervised learning, unsupervised learning, and reinforcement learning analogies

Figure 1.3 – Supervised learning, unsupervised learning, and reinforcement learning analogies

The following list explains the various analogies:

  • Supervised learning: This is based on past data, and the trainer specifies the inputs to predict future outcomes. This type of training is analogous to an instructor-led training course. It requires the trainer to supervise the student or the model to achieve the desired learning outcome. Classification and regression are types of supervised learning methods:
    • Classification refers to the process of categorizing a given set of data into classes. For example, a set of pictures of different animals are fed into the ML model. Each picture is labeled with an animal name. The ML model is trained to identify animals from an image.
    • Regression helps in the prediction of a continuous variable. For example, a profit prediction ML model is an example of a regression model. Training data consisting of R and D, marketing, and administrative spending, geographic location, and profit is fed into the model. The ML model predicts the profit.
  • Unsupervised learning: This relies on an algorithm to identify unknown patterns from data. This type of training is analogous to a self-study course. It requires the students or the model to synthesize the information to achieve the desired learning outcome. Clustering is a type of unsupervised learning method:
    • Clustering refers to the method used to find similarity and relationship patterns among training datasets, and then cluster those datasets into groups with similarities based on features. For example, the clustering technique is commonly used in market segmentation. The ML model looks at features such as sex, age, race, and geographic location to group customer groups into segments to better understand their buying habits.
  • Reinforced learning: This uses a reward-and-punishment system to learn. There is no training data or trainer. The algorithm is improved over time based on feedback or reward and punishment. This type of training is analogous to on-the-job training. If the worker is doing the job well, the worker gains a pay raise or promotion. If the worker is performing poorly, the worker receives no raise or promotion. This is commonly used when no data or specific expertise is available.

Practical tips

AI platform providers have a mission to make AI accessible. Part of that mission is striving to develop product features to overcome the complex concepts of AI. Specifically, these are some notable democratization efforts in AI:

  • Increased availability of pre-trained models to accelerate the time to result
  • Simplification of the technical complexity of the ML training life cycle

We presented the key AI concepts in an easily digestible format. This overview prepares you to pick up an AI platform such as UiPath quickly. You will build, deploy, and maintain your first AI+RPA use cases in no time. You no longer need to spend years mastering AI to build a model from scratch. Instead, you are the trainer of the robots, teaching different skills that they need to master. Most importantly, you have tools that do the most complex tasks for you.

Now that you have a good understanding of the key AI concepts, let's explore cognitive automation, which is the combination of AI and RPA.

Understanding cognitive automation

Cognitive automation or intelligent process automation (IPA) refers to the use of AI and RPA together. It provides the machine or the robot with the brain (AI) and the limbs (RPA).

Although the general software development life cycle (SDLC) looks the same at a high level for RPA development and cognitive automation development, there are two important differences:

  • The role of the RPA developer across the SDLC
  • The final output of the RPA and cognitive automation life cycles

Let's now take a look at these differences in detail.

Understanding the expanded roles the RPA developer plays in the cognitive automation life cycle

An RPA developer plays expanded roles in the cognitive automation SDLC. A detailed comparison between a representative RPA SDLC and a representative cognitive automation SDLC is given in the following figure:

Figure 1.4 – Differences in RPA developer roles in the RPA and cognitive automation SDLCs

Figure 1.4 – Differences in RPA developer roles in the RPA and cognitive automation SDLCs

In the RPA SDLC, an RPA developer is like a traditional developer for any other software package. In this, the typical sequence of the process is as follows:

  1. The business analyst collects the end-to-end business requirements of a business workflow detailing inputs, process steps, and output.
  2. The RPA developer codes the RPA workflow and tests the code.
  3. The business user conducts a user-acceptance test of the RPA robot.
  4. Finally, the RPA developer creates a package to deploy to the production environment.
  5. Post-production, the administrator manages the operations of the RPA bots.
  6. The RPA developer updates the code if the business user suggests enhancements or reports bugs.

The RPA developer plays a heavy role in selected steps of the RPA SDLC (build, deploy, and improve) by converting business requirements into RPA language.

In the cognitive automation SDLC, the RPA developer has a role in almost every step, which is described as follows:

  1. The RPA developer collects data-specific requirements to prepare for ML model training/re-training.
  2. The RPA developer does not usually build the ML model. Instead, the RPA developer either uses the ML model developed by the data scientist or uses an available OOTB model.
  3. The RPA developer prepares the datasets for training and evaluation to train/re-train the ML model according to the specific use cases.
  4. When the training result is acceptable, the RPA developer creates the ML package to deploy to the production environment.
  5. The ML skills are then available for the RPA developer to plug and play in any RPA workflow.
  6. Post-production, the administrator manages the operations of the RPA bots and the ML skills.
  7. The RPA developer continues to re-train the model with new data points to improve the model.

In cognitive automation, an RPA developer plays a broader role across the SDLC as a trainer and a data steward.

Understanding the final output of the cognitive automation life cycle and the RPA life cycle

Another important distinction between RPA and cognitive automation is related to the characteristics of the final output produced. RPA configures RPA bots. Cognitive automation develops ML skills that are leveraged by the RPA bot. The following figure illustrates the differences in the expectations of an RPA bot and an ML skill in initial deployment to the stakeholders:

Figure 1.5 – Expectations of an RPA bot and an ML skill in initial deployment

Figure 1.5 – Expectations of an RPA bot and an ML skill in the initial deployment

An RPA robot performs according to a set of rules set out by the RPA developer. The result is black and white. Only the correctly coded robot is deployed into production. The output of the cognitive automation life cycle is a trained ML skill combined with an RPA workflow. The ML skill is trained up to the acceptable threshold of confidence to be deployed into production. In almost all cases, the ML skill is not 100% correct when it is first deployed. The ML skill is expected to improve over time.

Practical tips

Businesses have seen the power and reap the benefits of automation through RPA. However, RPA has its limitations. RPA can only automate rule-based tasks, thus limiting the scope of a process it can automate. In addition, rule-based tasks are usually lower-value work. To move up the value chain, combining AI is essential for businesses to maintain a competitive advantage. Here are some of the key takeaways to bring to your leadership:

  • Technology companies have simplified AI technologies to make them accessible for consumption. AI is no longer a tool that only data scientists can leverage.
  • The existing RPA team can start incorporating AI without needing heavy investments in springing up a new team.
  • There are impactful cognitive automation use cases throughout the organization.
  • It is now time to give the machine or the robot a brain.

Now that you have a good understanding of cognitive automation, let's explore the most commonly used OOTB models that you can try as a beginner in AI.

Exploring relevant OOTB models for RPA developers

You have options when it comes to ML models. There are widely available OOTB models that you can use by re-training with your data. You can develop your ML models from scratch. Lastly, you can collaborate with the data scientists in your company on custom-built ML models.

In this book, we will provide tips on how you engage with these options. To begin, we recommend you start with the OOTB models. We will give you an overview of the most commonly used OOTB models in this section.

The commonly used OOTB models

OOTB ML models apply to a wide variety of use cases. They are pre-trained with a large amount of data. Some OOTB models can be retrained with your specific dataset, while others are not retrainable. Most automation platforms now include OOTB models. Selecting the right OOTB models can save you time and accelerate your project. The following figure illustrates the different categories of the OOTB models:

Figure 1.6 – OOTB ML models by category

Figure 1.6 – OOTB ML models by category

These OOTB ML models convert various forms of unstructured data into a usable format. The usage of these models reduces reliance on humans to spend hours reading, processing, comprehending, and analyzing unstructured documents. Unstructured documents can come in the form of images, language, tabular text, and documents.

Let's take a closer look at each of these models:

  • Image analysis: There are two image analysis OOTB models. The following figure summarizes the key characteristics of the two models:
    Figure 1.7 – Image analysis OOTB models

Figure 1.7 – Image analysis OOTB models

These two OOTB image analysis models are useful for many use cases that involve analyzing an image to determine the next steps. For example, the image moderation model is often used in social media feed moderation. The OOTB image moderation model reviews millions of images and flags images that may be problematic for humans to verify.

  • Language translation: As the name suggests, language translation replaces the tedious work of translation from one language to another. The following figure summarizes the key characteristics of the model:
    Figure 1.8 – Language translation OOTB models

Figure 1.8 – Language translation OOTB models

This ML skill can be used in a variety of use cases and is commonly used in customer support. For example, many chatbots are powered by an OOTB language translation model to handle inquiries in different languages.

  • Language comprehension: Language comprehension is complex. It refers to the ability to extract meaning from text, just like a human. The following figure summarizes the key characteristics of the three available models:
    Figure 1.9 – Language comprehension OOTB models

Figure 1.9 – Language comprehension OOTB models

Language comprehension ML models can mimic the thinking of a human and make inferences. They have widespread practical usage. For example, the semantic similarity OOTB model provides recommendations based on preferences indicated by the users. The question answering OOTB model is often used as a basis to build an automated frequently asked questions (FAQ) database. Finally, the text summarization OOTB model draws insights from books and articles.

  • Language analysis: Language analysis refers to the skill of drawing meaning from text. It enables a machine or a robot to understand sentences and paragraphs. The following figure summarizes the key characteristics of the three kinds of models:
    Figure 1.10 – Language analysis OOTB models

Figure 1.10 – Language analysis OOTB models

Language analysis ML models know how to draw context and relationships between individual words. They have widespread practical usage. For example, the sentiment analysis OOTB model is often used in managing emails from customers. The model prioritizes negative emails for humans to review. One popular usage of the text classification model is spam email classification. Finally, a named entity recognition model is often used to extract key parts from customer feedback.

  • Tabular data: Tree-based pipeline optimization tool (TPOT) is a tool to find the best pipeline for your data. The following figure summarizes the key characteristics of the two available models:
Figure 1.11 – Tabular data OOTB models

Figure 1.11 – Tabular data OOTB models

This OOTB tool automates the most tedious part of pipeline building. In addition, this is an introduction for a beginner to create a custom model.

  • Documents: Processing documents is time-consuming and tedious. Many businesses spend many hours and a lot in human resources to digitize analog documents and extract structured information from them. The following figure summarizes the key characteristics of the three kinds of models:
Figure 1.12 – Documents OOTB models

Figure 1.12 – Documents OOTB models

There are many documents on OOTB models available to tackle document digitization. They are often pre-trained with a large dataset of the relevant document type. They can be used to accelerate cognitive automation involving documents.

Practical tips

As we learned in this section, there are many OOTB models readily available. They have been widely used and proven to be effective. They are also easy to try. Think of a simple use case that involves AI skills and try your hand at any of the OOTB models mentioned in this section. Practice makes the theory you read in this book come alive.

Summary

In this chapter, you learned about the key AI concepts to start your immersion into AI. In addition, you learned about the power of cognitive automation to extend automation benefits and your role in cognitive automation implementation. Finally, you are now aware of the commonly used OOTB models for you to start hands-on exploration.

In the next chapter, we will dive into exploring the automation spectrum, the available technologies, and a framework to reimagine and solve a business problem with the relevant application of cognitive automation.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore out-of-the-box (OOTB) AI Models in UiPath
  • Learn how to deploy, manage, and continuously improve machine learning models using UiPath AI Center
  • Deploy UiPath-integrated chatbots and master UiPath Document Understanding

Description

Artificial intelligence (AI) enables enterprises to optimize business processes that are probabilistic, highly variable, and require cognitive abilities with unstructured data. Many believe there is a steep learning curve with AI, however, the goal of our book is to lower the barrier to using AI. This practical guide to AI with UiPath will help RPA developers and tech-savvy business users learn how to incorporate cognitive abilities into business process optimization. With the hands-on approach of this book, you'll quickly be on your way to implementing cognitive automation to solve everyday business problems. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, this book will help you understand the power of AI and give you an overview of the relevant out-of-the-box models. You’ll learn about cognitive AI in the context of RPA, the basics of machine learning, and how to apply cognitive automation within the development lifecycle. You’ll then put your skills to test by building three use cases with UiPath Document Understanding, UiPath AI Center, and Druid. By the end of this AI book, you'll be able to build UiPath automations with the cognitive capabilities of intelligent document processing, machine learning, and chatbots, while understanding the development lifecycle.

What you will learn

Discover how to bridge the gap between RPA and cognitive automation Understand how to configure, deploy, and maintain ML models in UiPath Explore OOTB models to manage documents, chats, emails, and more Prepare test data and test cases for user acceptance testing (UAT) Build a UiPath automation to act upon Druid responses Find out how to connect custom models to RPA

Product Details

Country selected

Publication date : Apr 29, 2022
Length 376 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781801817653
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Apr 29, 2022
Length 376 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781801817653
Category :

Table of Contents

16 Chapters
Preface Chevron down icon Chevron up icon
1. Section 1: The Basics Chevron down icon Chevron up icon
2. Chapter 1: Understanding Essential Artificial Intelligence Basics for RPA Developers Chevron down icon Chevron up icon
3. Chapter 2: Bridging the Gap between RPA and Cognitive Automation Chevron down icon Chevron up icon
4. Chapter 3: Understanding the UiPath Platform in the Cognitive Automation Life Cycle Chevron down icon Chevron up icon
5. Section 2: The Development Life Cycle with AI Center and Document Understanding Chevron down icon Chevron up icon
6. Chapter 4: Identifying Cognitive Opportunities Chevron down icon Chevron up icon
7. Chapter 5: Designing Automation with End User Considerations Chevron down icon Chevron up icon
8. Chapter 6: Understanding Your Tools Chevron down icon Chevron up icon
9. Chapter 7: Testing and Refining Development Efforts Chevron down icon Chevron up icon
10. Section 3: Building with UiPath Document Understanding, AI Center, and Druid Chevron down icon Chevron up icon
11. Chapter 8: Use Case 1 – Receipt Processing with Document Understanding Chevron down icon Chevron up icon
12. Chapter 9: Use Case 2 – Email Classification with AI Center Chevron down icon Chevron up icon
13. Chapter 10: Use Case 3 – Chatbots with Druid Chevron down icon Chevron up icon
14. Chapter 11: AI Center Advanced Topics Chevron down icon Chevron up icon
15. Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.