Updated UNIT 1 AI
Updated UNIT 1 AI
ARTIFICIAL INTELLIGENCE
UNIT-1 Introduction to AI on Azure
1)Define/What is AI.
Artificial intelligence (AI) is the creation of software that imitates human behaviour and
capabilities.
Examples: fraud detection, spam filtering, malware threat detection, business process
automation, medical diagnosis, image processing, prediction, classification, learning
association, regression etc.
8)List and explain Computer vision service and capabilities or cognitive services
azure provides.
Services and Capabilities:
Computer vision: Use this service to analyze images and video and extract description
tags.
Custom Vision: Use this service to train image classification and object detection model.
Face: It enables you to build face detection and facial recognition solutions.
Form Recogniser: Use this service to extract information from scanned forms and
invoices.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 2
10)Explain the steps to configure Tune Model Hyperparameters?
Add the Tune model Hyperparameters component to your pipeline in the designer.
Connect an untrained model to the leftmost input.
Add the dataset that you want to use for training and connect it to the middle input
ofTune Model Hyperparameters.
In the right panel of tune model hyperparameters,choose a value for parameter
sweeping mode,It controls how parameters are selected.
Entire grid:It is useful when you don’t know what is the best parameter settings
might be.
Random sweep:The component will randomly select parameter values over a
system-defined range.
For Label Column selector to choose a single label column.
Choose the number of runs:
Maximum number of runs on random sweep: If you choose a random sweep
youcan specify how many times the model should be trained.
For, Ranking choose a single metric to use for ranking the models.
For Random seed, enter an integer number as a pseudo random number generator
stateused for randomly selecting parameter values over a pre-defined range.
Submit the pipeline.
13)Is there any service for Anomaly detection from Microsoft Azure?
The Anomaly Detector service provides an application programming interface (API)that
developers can use to create anomaly detection solutions.
17)You want to train a model that classifies images of dogs and cats based on a
collection of your own digital photographs. Which Azure service should you use?
Ans:Computer Vision
20)What are the settings you need when creating a Machine learning workspace?
Workspace Name: A unique name of your choice.
Subscription: Your Azure subscription.
Resource group: Create a new resource group with a unique name.
Location: Choose any available location.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 5
Workspace edition: Enterprise
21)How many kinds of Compute resources that data scientists can use to train their
models?
i)Compute Instances: Development workstations that data scientists can use to work with
data and models.
ii)Compute Clusters: Scalable clusters of virtual machines for on-demand processing of
experiment code.
iii)Inference Clusters: Deployment targets for predictive services that use your trained
models.
iv)Attached Compute: Links to existing Azure compute resources, such asVirtual
Machines or Azure Data bricks clusters.
23)When using Computer Vision, what is the difference between Computer Vision
andCognitive Services?
Computer Vision: A specific resource for the Computer Vision service. Use this resource
type if you don’t intend to use any other cognitive services, or if you want to track utilization
and costs for your Computer Vision resource separately.
Cognitive Services: A general cognitive services resource that includes Computer Vision
along with many other cognitive services; such as Text Analytics, Translator Text, and
others. Use this resource type if you plan to use multiple cognitive services and want to
simplify administration and development.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 6
26)What is Speech synthesis?
The ability to generate spoken output. Speech synthesis is in many respects the reverse of
speech recognition. It is concerned with vocalizing data, usually by converting text to speech
27)What are the services for speech recognition and speech synthesis from
Azure?
The Speech-to-Text API
The Text-to-Speech API
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 8
ii)Speech Recognition
While using Google, we get an option of "Search by voice," it comes under
speech recognition, and it's a popular application of machine learning.
iii)Traffic prediction:
If we want to visit a new place, we take help of Google Maps, which shows
us the correct path with the shortest route and predicts the traffic conditions.
iv)Product recommendations:
Machine learning is widely used by various e-commerce and entertainment companies such
as Amazon, Netflix, etc., for product recommendation to the user.
v)Self-driving cars:
One of the most exciting applications of machine learning is self-driving cars. Machine
learning plays a significant role in self-driving cars.
Tesla, the most popular car manufacturing company is working on self-driving car.
vi)Virtual Personal Assistant:
We have various virtual personal assistants such as Google assistant,
Cortana, Siri. As the name suggests, they help us in finding the information using our
voice instruction.
These assistants can help us in various ways just by our voice instructions such as Play
music, call someone, Open an email, Scheduling an appointment, etc.
vii)Medical Diagnosis:
In medical science, machine learning is used for diseases diagnoses.
With this, medical technology is growing very fast and able to build 3D models that can
predict the exact position of lesions in the brain.
Chatbots:
It can be used for things like customer support, making appointments.
A chatbot in AI is a program that is capable of generating written or spoken content
from a user's input prompt and simulating a human-like conversation.
A chatbot is a software application that aims to mimic human conversation through text
or voice interaction.
Modern chatbots are artificial intelligence (AI) systems that are capable of maintaining
a conversation with a user in natural language and simulating the way a human would
behave as a conversational partner.
Such technologies often utilize aspects of deep learning and natural language
processing.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 9
measurements. Which Azure service should you use?
Ans:Azure Machine Learning
Flow chart
it has emergence from Computer Science as the core subject. Artificial Intelligence has one
main sub-branch known as Data Science. It splits into four subfields:
Data Mining
Data Analytics
Big Data
Machine Learning (ML)
The chart shows us that Data is the main dependency of AI. Without any data or information,
we cannot do anything. It needs to be present in raw format for analysis and processing.
Maintaining all other factors we also see that all the four sub-fields of Data Science have
a core dependency among themselves.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 10
36)How does the anomaly detector service evaluate real time data for anomalies?
Anomaly Detector is an AI service with a set of APIs, which enables you to monitor and detect
anomalies in your time series data with little machine learning (ML) knowledge, either batch
validation or real-time inference.
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 11
ALL THE BEST
Yogesha S N
B.Sc B.ed MCA M.Sc
Vasavi Jnana Peetha Evening College Page 12