Ai Fundamentals
Ai Fundamentals
Completed100 XP
• 2 minutes
AI enables us to build amazing software that can improve health care, enable people
to overcome physical disadvantages, empower smart infrastructure, create incredible
entertainment experiences, and even save the planet!
Watch the following video to see some ways that AI can be used.
What is AI?
Simply put, AI is software that imitates human behaviors and capabilities. Key
workloads include:
• Machine learning - This is often the foundation for an AI system, and is the
way we "teach" a computer model to make predictions and draw conclusions
from data.
• Computer vision - Capabilities within AI to interpret the world visually through
cameras, video, and images.
• Natural language processing - Capabilities within AI for a computer to
interpret written or spoken language, and respond in kind.
• Document intelligence - Capabilities within AI that deal with managing,
processing, and using high volumes of data found in forms and documents.
• Knowledge mining - Capabilities within AI to extract information from large
volumes of often unstructured data to create a searchable knowledge store.
• Generative AI - Capabilities within AI that create original content in a variety of
formats including natural language, image, code, and more.
Machine Learning is the foundation for most AI solutions. Since the 1950's,
researchers, often known as data scientists, have worked on different approaches to
AI. Most modern applications of AI have their origins in machine learning, a branch
of AI that combines computer science and mathematics.
Let's start by looking at a real-world example of how machine learning can be used
to solve a difficult problem.
Sustainable farming techniques are essential to maximize food production while
protecting a fragile environment. The Yield, an agricultural technology company
based in Australia, uses sensors, data, and machine learning to help farmers make
informed decisions related to weather, soil, and plant conditions.
The answer is, from data. In today's world, we create huge volumes of data as we go
about our everyday lives. From the text messages, emails, and social media posts we
send to the photographs and videos we take on our phones, we generate massive
amounts of information. More data still is created by millions of sensors in our
homes, cars, cities, public transport infrastructure, and factories.
Data scientists can use all of that data to train machine learning models that can
make predictions and inferences based on the relationships they find in the data.
Machine learning models try to capture the relationship between data. For example,
suppose an environmental conservation organization wants volunteers to identify
and catalog different species of wildflower using a phone app. The following
animation shows how machine learning can be used to enable this scenario.
1. A team of botanists and scientists collect data on wildflower samples.
2. The team labels the samples with the correct species.
3. The labeled data is processed using an algorithm that finds relationships
between the features of the samples and the labeled species.
4. The results of the algorithm are encapsulated in a model.
5. When new samples are found by volunteers, the model can identify the correct
species label.
Computer Vision is an area of AI that deals with visual processing. Let's explore some
of the possibilities that computer vision brings.
The Seeing AI app is a great example of the power of computer vision. Designed for
the blind and low vision community, the Seeing AI app harnesses the power of AI to
open up the visual world and describe nearby people, text and objects.
Expand table
Task Description
Image
classification
Image classification involves training a machine learning model to classify images based
example, in a traffic monitoring solution you might use an image classification model to c
the type of vehicle they contain, such as taxis, buses, cyclists, and so on.
Object detection
Object detection machine learning models are trained to classify individual objects within
their location with a bounding box. For example, a traffic monitoring solution might use o
identify the location of different classes of vehicle.
Task Description
Semantic
segmentation
You can create solutions that combine machine learning models with advanced image ana
extract information from images, including "tags" that could help catalog the image or eve
that summarize the scene shown in the image.
Task Description
Face detection,
analysis, and
recognition
Face detection is a specialized form of object detection that locates human faces in an ima
combined with classification and facial geometry analysis techniques to recognize individ
features.
Optical character
recognition (OCR)
Optical character recognition is a technique used to detect and read text in images. You ca
in photographs (for example, road signs or store fronts) or to extract information from sca
letters, invoices, or forms.
• Image Analysis: capabilities for analyzing images and video, and extracting
descriptions, tags, objects, and text.
• Face: capabilities that enable you to build face detection and facial recognition
solutions.
• Optical Character Recognition (OCR): capabilities for extracting printed or
handwritten text from images, enabling access to a digital version of the
scanned text.
Natural language processing (NLP) is the area of AI that deals with creating software
that understands written and spoken language.
• Analyze and interpret text in documents, email messages, and other sources.
• Interpret spoken language, and synthesize speech responses.
• Automatically translate spoken or written phrases between languages.
• Interpret commands and determine appropriate actions.
For example, Starship Commander is a virtual reality (VR) game from Human Interact
that takes place in a science fiction world. The game uses natural language
processing to enable players to control the narrative and interact with in-game
characters and starship systems.
Microsoft's Azure AI Speech is another service that can be used to build natural
language processing solutions. Azure AI Speech features include speech recognition
and synthesis, real-time translations, conversation transcriptions, and more.
You can explore Azure AI Language features in the Azure Language Studio and
Azure AI Speech features in the Azure Speech Studio. The service features are
available for use and testing in the studios and other programming languages.
Document Intelligence is the area of AI that deals with managing, processing, and
using high volumes of a variety of data found in forms and documents. Document
intelligence enables you to create software that can automate processing for
contracts, health documents, financial forms and more
Azure AI Search can utilize the built-in AI capabilities of Azure AI services such as
image processing, document intelligence, and natural language processing to extract
data. The product's AI capabilities makes it possible to index previously unsearchable
documents and to extract and surface insights from large amounts of data quickly.
Azure OpenAI supports many foundation model choices that can serve different
needs. The service features are available for use and testing in the Azure OpenAI
Studio and other programming languages. You can use the Azure OpenAI Studio
user interface to manage, develop, and customize generative AI models.
Next unit: Challenges and risks with AI
Artificial Intelligence is a powerful tool that can be used to greatly benefit the world.
However, like any tool, it must be used responsibly.
The following table shows some of the potential challenges and risks facing an AI
application developer.
Expand table
Challenge or Risk Example
Bias can affect results A loan-approval model discriminates by gender due to bias in the data wit
Errors may cause harm An autonomous vehicle experiences a system failure and causes a collisio
Data could be exposed A medical diagnostic bot is trained using sensitive patient data, which is s
Solutions may not work for A home automation assistant provides no audio output for visually impair
everyone
Users must trust a complex system An AI-based financial tool makes investment recommendations - what are
Who's liable for AI-driven An innocent person is convicted of a crime based on evidence from facial
decisions? responsible?
Understand Responsible AI
Completed100 XP
• 10 minutes
Fairness
AI systems should treat all people fairly. For example, suppose you create a machine
learning model to support a loan approval application for a bank. The model should
predict whether the loan should be approved or denied without bias. This bias could
be based on gender, ethnicity, or other factors that result in an unfair advantage or
disadvantage to specific groups of applicants.
Azure Machine Learning includes the capability to interpret models and quantify the
extent to which each feature of the data influences the model's prediction. This
capability helps data scientists and developers identify and mitigate bias in the
model.
For more details about considerations for fairness, watch the following video.
For more information about considerations for reliability and safety, watch the
following video.
For more details about considerations for privacy and security, watch the following
video.
Inclusiveness
AI systems should empower everyone and engage people. AI should bring benefits
to all parts of society, regardless of physical ability, gender, sexual orientation,
ethnicity, or other factors.
For more details about considerations for inclusiveness, watch the following video.
Transparency
AI systems should be understandable. Users should be made fully aware of the
purpose of the system, how it works, and what limitations may be expected.
For more details about considerations for transparency, watch the following video.
Accountability
People should be accountable for AI systems. Designers and developers of AI-based
solutions should work within a framework of governance and organizational
principles that ensure the solution meets ethical and legal standards that are clearly
defined.
For more details about considerations for accountability, watch the following video.
The principles of responsible AI can help you understand some of the challenges
facing developers as they try to create ethical AI solutions.
Further resources
For more resources to help you put the responsible AI principles into practice,
see https://www.microsoft.com/ai/responsible-ai-resources.
To see these policies in action you can read about Microsoft’s framework for building
AI systems responsibly.