AI Notes
AI Notes
Artificial Intelligence
ARTIFICIAL INTELLIGENCE
III SEMESTER BBA-AVIATION
Unit - 1
Overview of AI: Definition of Artificial Intelligence, Philosophy of AI, Goals of AI, Elements of AI
system, Programming a computer without and with AI, AI Techniques, History of AI
Intelligent Systems: Definition and understanding of Intelligence, Human Intelligence vs Machine
Intelligence, Types of Intelligence.
Unit-2
AI Applications: Virtual assistance, Travel and Navigation, Education and Healthcare, Optical
character recognition, E-commerce, mobile payment systems, Image-based search, and photo editing.
AI Examples in daily life: Installation of Al apps and instructions to use AI apps.
Unit-3
Robotics: Introduction to Robotics, Difference in Robot System and Other AI Programs, Components
of a Robot.
UNIT I
OVERVIEW OF AI
What is artificial intelligence (AI)?
Artificial intelligence is the simulation of human intelligence processes by machines, especially
computer systems.
Specific applications of AI include expert systems, natural language processing, speech
recognition, and machine vision.
Artificial intelligence (AI) is defined as the intelligence of a machine or computer that enables
it to imitate or mimic human capabilities
Learning processes. This aspect of AI programming focuses on acquiring data and creating
rules for how to turn the data into actionable information. The rules, which are
called algorithms, provide computing devices with step-by-step instructions for how to
complete a specific task.
Reasoning processes. This aspect of AI programming focuses on choosing the right algorithm
to reach the desired outcome.
Self-correction processes. This aspect of AI programming is designed to continually fine-tune
algorithms and ensure they provide the most accurate results possible.
Expert Systems
Expert systems are machines or software applications that provide explanation and advice to
users through a set of rules provided by an expert.
Rules are programmed into software to reproduce the knowledge for nonexperts to solve a
range of actual problems.
Examples of this are found in the fields of medicine, pharmacy, law, food science, and
engineering, and maintenance.
Robotics
Intelligent robots are mechanical structures in various shapes that are programmed to perform
specific tasks based on human instructions.
Depending on the environment of use (land, air, and sea), they are called drones and rovers.
Intelligent Agents
Multi-agent systems (MAS) is a subfield of AI that builds computational systems capable of
making decisions and take actions autonomously.
These systems are capable of maintaining information about their environment and making
decisions based on their perception of the state of the environment, their past experiences, and
their objectives.
Agents can also interface with other agents to collaborate on common goals.
Computational Intelligence
Computational Intelligence is the computational aspect of AI that focuses on utilizing and
deriving value from data.
It uses knowledge-discovery and data-mining processes to develop ML workflows to learn
from historical data and predict future events.
There are several algorithms designed to build ML models.
Examples are artificial neural networks, decision trees, random forests, etc.
Overview of AI techniques
Artificial Intelligence (AI) is the way of making computing hardware and software think
intelligently, in similarity to the manner humans use natural intelligence.
According to “John McCarthy”, known as the father of Artificial Intelligence: AI is “The science and
engineering of making intelligent machines, especially intelligent computer programs”.
1. Machine Learning (ML) Machine learning focuses on applications that learn from
experience and improve their decision-making or predictive accuracy over time.
2. Natural Language Processing (NLP) Natural language processing strives to build
machines that understand and respond to text or voice data — and respond with text or
speech of their own — in much the same way humans do.
3. Automation and Robotics Expert systems or applications that are able to perform tasks
given by a human. They have sensors to detect real-world data such as temperature,
movement, sound, heat, pressure, light that is processed to exhibit intelligence with the
capability to adapt in accordance to its inputs and learn from it’s mistakes.
4. Machine Vision (MV) Is the technology and methods used to provide imaging-based
automatic inspection and analysis for such applications as automatic inspection, process
control, and robot guidance, usually in industry
5. Data Mining Learn about data mining, which combines statistics and artificial
intelligence to analyze large data sets to discover useful information.
The history of AI
Here’s a brief timeline of the past six decades of how AI evolved from its inception.
1956 - John McCarthy coined the term ‘artificial intelligence’ and had the first AI conference.
1969 - Shakey was the first general-purpose mobile robot built. It is now able to do things with
a purpose vs. just a list of instructions.
1997 - Supercomputer ‘Deep Blue’ was designed, and it defeated the world champion chess
player in a match. It was a massive milestone by IBM to create this large computer.
2002 - The first commercially successful robotic vacuum cleaner was created.
2005 - 2019 - Today, we have speech recognition, robotic process automation (RPA), a dancing
robot, smart homes, and other innovations make their debut.
2020 - Baidu releases the LinearFold AI algorithm to medical and scientific and medical teams
developing a vaccine during the early stages of the SARS-CoV-2 (COVID-19) pandemic. The
algorithm can predict the RNA sequence of the virus in only 27 seconds, which is 120 times
faster than other methods.
1. Purely Reactive: These machines do not have any memory or data to work with, specializing in
just one field of work. For example, in a chess game, the machine observes the moves and makes the
best possible decision to win.
2. Limited Memory: These machines collect previous data and continue adding it to their memory.
They have enough memory or experience to make proper decisions, but memory is minimal. For
example, this machine can suggest a restaurant based on the location data that has been gathered.
3. Theory of Mind: This kind of AI can understand thoughts and emotions, as well as interact socially.
However, a machine based on this type is yet to be built.
4. Self-Aware: Self-aware machines are the future generation of these new technologies. They will be
intelligent, sentient, and conscious.
INTELLIGENT SYSTEMS
Spearman concluded that there is a single g-factor that represents an individual’s general intelligence
across multiple abilities and that a second factor, s, refers to an individual’s specific ability in one
particular area (Spearman, as cited in Thomson, 1947).
Types Of Intelligence
The Nine types of intelligence:
Naturalist (nature smart)
Musical (sound smart)
Logical-mathematical (number/reasoning smart)
Existential (life smart)
Interpersonal (people smart)
Bodily-kinesthetic (body smart)
Linguistic (word smart)
Intra-personal (self smart)
Spatial (picture smart)
1. Naturalist Intelligence
2. Musical Intelligence
Musical intelligence is the capacity to discern pitch, rhythm, timbre, and tone.
This intelligence enables us to recognize, create, reproduce, and reflect on
music, as demonstrated by composers, conductors, musicians, vocalist, and
sensitive listeners
3. Logical-Mathematical Intelligence
4. Existential Intelligence
Sensitivity and capacity to tackle deep questions about human existence, such as
the meaning of life, why we die, and how did we get here.
5. Interpersonal Intelligence
6. Bodily-Kinesthetic Intelligence
Bodily kinesthetic intelligence is the capacity to manipulate objects and use a variety
of physical skills. This intelligence also involves a sense of timing and the perfection
of skills through mind–body union. Athletes, dancers, surgeons, and crafts people
exhibit well-developed bodily kinesthetic intelligence.
7. Linguistic Intelligence
Linguistic intelligence is the ability to think in words and to use language to express and
appreciate complex meanings. Linguistic intelligence allows us to understand the order
and meaning of words and to apply meta-linguistic skills to reflect on our use of
language. Linguistic intelligence is the most widely shared human competence and is
evident in poets, novelists, journalists, and effective public speakers.
8. Intra-personal Intelligence
Intra-personal intelligence is the capacity to understand oneself and one’s thoughts and
feelings, and to use such knowledge in planning and directioning one’s life. Intra-personal
intelligence involves not only an appreciation of the self, but also of the human condition.
9. Spatial Intelligence
UNIT 2
AI APPLICATIONS
Application of AI
Artificial Intelligence has various applications in today's society.
AI is making our daily life more comfortable and fast.
It is becoming essential for today's time because it can solve complex problems in an efficient
way in multiple industries, including Virtual assistance, Travel and Navigation, Education and
Healthcare, Optical character recognition, E-commerce, mobile payment systems, Image-based
search, photo editing.
5 best AI assistants:
1. Fireflies
2. Siri
3. Cortana
4. Alexa
5. Google Assistant
Artificial intelligence is improving all the time, making it more reliable and more attractive as
a business solution.
The travel industry are taking advantage of AI in order to perform a variety of administrative
and customer service tasks.
3. Voice Assistants:
Without even the direct involvement of the lecturer or the teacher, a student can access extra
learning material or assistance through Voice Assistants. Through this, printing costs of temporary
handbooks and also provide answers to very common questions easily.
4. Personalized Learning:
Using top AI technologies, hyper-personalization techniques can be used to monitor students’ data
thoroughly, and habits, lesson plans, reminders, study guides, flash notes, frequency or revision, etc., can be
easily generated.
What is OCR?
Optical character recognition (OCR) technology is an efficient business process that saves time,
cost and other resources by utilizing automated data extraction and storage capabilities.
An OCR program extracts and repurposes data from scanned documents, camera images and image-
only pdfs.
OCR software singles out letters on the image, puts them into words and then puts the words into
sentences, thus enabling access to and editing of the original content.
It also eliminates the need for manual data entry.
AI APPLICATION IN E-COMMERCE
1. Personalized Shopping:
Artificial Intelligence technology is used to create recommendation engines through which you can
engage better with your customers.
These recommendations are made in accordance with their browsing history, preference, and
interests.
It helps in improving your relationship with your customers and their loyalty towards your brand.
2. AI-Powered Assistants
Virtual shopping assistants and chatbots help improve the user experience while shopping
online.
Natural Language Processing is used to make the conversation sound as human and
personal as possible. Moreover, these assistants can have real-time engagement with your
customers.
Did you know that on amazon.com, soon, customer service could be handled by chatbots?
3. Fraud Prevention
Credit card frauds and fake reviews are two of the most significant issues that E-Commerce
companies deal with.
By considering the usage patterns, AI can help reduce the possibility of credit card fraud taking
place.
Many customers prefer to buy a product or service based on customer reviews.
AI can help identify and handle fake reviews.
PAYMENT GATWAYA
payment gateway is a software module that facilitates safe and secure financial transactions between
a customer and a merchant.
Among these include checking if a customer has sufficient cash in their account to complete a
transaction and confirming their credit/debit/prepaid card information (this involves encrypting the
card number to ensure the data is processed securely as per ISO standards in the payments industry).
Most payment processors have begun utilizing AI and machine learning to process the high volume
transactions and anticipate online payment frauds.
Without AI, the payment sector would not be able to execute a high volume of transactions with
minimal fraud or mistakes.
Mobile payment
A mobile payment is the transfer or payment of funds typically to a person, merchant or
business for bills, goods and services, using a mobile device to execute and confirm the payment.
The payment tool can be a digital (virtual or e-) wallet, mobile browser, or SIM toolkit / mobile
menu.
Computing vision is being used by artificial intelligence in place of paper money and plastic credit
cards. Customer’s billing and transaction history are recorded digitally, and they utilize their
mobile devices as payment (i.e., Google Pay, Apple Wallet, etc.).
The financial industry also uses computer vision to enable online account opening, a growing
trend away from the physical bank branch.
The following are some examples from our daily lives where Artificial Intelligence finds a place.
1. Travel & Navigation
2. Smartphone Apps
3. Social Media Feeds
4. Advertisements
5. Smart Cars
6. Music and Video Streaming
7. Smart Home
8. Smart Input
9. Security & surveillance
10. Finance services
Smartphone Apps
Advertisements
How many times have you wondered, looking at an online ad, “I was
thinking about buying this product “?
It is AI at work.
There is no magic here wherein AI is reading your mind.
Instead, it is keeping track of what you do online. The products you
browse on various shopping sites or search engines are tracked, and
advertisements related to these products are fed to you.
AI also uses information related to demographics, like your age, gender,
profession, etc., to determine the adverts of products that most likely
are your preference.
This is becoming more relevant, with many businesses using digital
marketing tools to target their preferred customers.
Smart Cars
Many of these recommendations are those which you are unlikely to know, helping you watch
or listen to newer content.
Smart Home
Smart Input
The thought of AI does bring notions of it being used for larger-scale surveillance.
While ethics is a case for debate, it is known that AI is used increasingly in this domain.
Monitoring the immense feed being transmitted from various cameras and other devices is not
only a cumbersome activity but also has its limitations.
AI uses technologies like face recognition, object and location recognition, etc., to monitor the
inputs received and analyze them.
Finance services
2. Type an app name or keyword into the search box. It’s at the top of the screen.
For example, you can type Alexa to search for the Alexa app, or phot os to browse
various photo apps.
If you’re just browsing, skip the search—instead, scroll down and peruse the Play
Store’s categories, charts, and suggestions.
3. Tap
. It’s the Search key that looks like a magnifying glass at the keyboard’s
bottom right corner.
6. Tap OPEN. When the installation is complete, the “INSTALL” (or price)
button will change to an “OPEN” button. Tapping it will launch your new
app for the first time.
To open the new app in the future, tap the Apps icon on
your home screen, then tap the new app’s icon
UNIT 3
ROBOTICS
What are Robots
Robots are artificial agents acting in a real-world environment.
Robots can work as:-
An automatic machine sweeper
In space
A machine removing mines in a war field
An automatic car for a child to play with
In the military, etc.
The aim of the robot is to manipulate the objects by perceiving, moving, picking, and modifying the
physical properties of objects.
What is Robotics
Robotics is a branch of Artificial Intelligence (AI), it is mainly composed of electrical
engineering, mechanical engineering, and computer science engineering for the construction,
designing, and application of robots.
Robotics is the science of building or designing an application of robots. The aim of robotics is to
design an efficient robot.
Aspects of Robotics
The robots have electrical components for providing power and controlling the machinery.
They have mechanical construction, shape, or form designed to accomplish a particular task.
It contains some type of computer program that determines what, when, and how a robot does
something.
AI Programs Robots
a robot is a machine that may or may not require
intelligence to perform specific tasks and has a physical They operate in the real physical world
form.
Inputs to robots is an analog signal in the
The input to an AI program is in symbols and rules.
form of speech waveform or images
They need special hardware with sensors
They need general-purpose computers to operate on.
and effectors.
Robots interact with the physical world via
AI can function in cell phones, laptops, robots even, and
sensors and actuators.
performs tasks
Artificial intelligence (AI) is a branch of computer Robots are programmable.
science
AI algorithms can tackle learning, perception, problem-
Robots are usually autonomous or semi-
solving, language-understanding and/or logical reasoning
autonomous.
I guess that people sometimes confuse the two because of the overlap between them: Artificially
Intelligent Robots.
Applications of Robotics
Industries –
Robots are used for handling material, cutting, welding, color coating, drilling, polishing, etc.
Military –
Autonomous robots can reach inaccessible and hazardous zones during the war.
A robot named Daksh, developed by Defense Research and Development Organization
(DRDO), is in functions to destroy life-threatening objects safely.
Medicine –
The robots are capable of carrying out hundreds of clinical tests simultaneously, rehabilitating
permanently disabled people, and performing complex surgeries such as brain tumors.
Exploration –
The robot rock climbers used for space exploration, and underwater drones used for ocean
exploration are to name a few.
Entertainment –
Disney’s engineers have created hundreds of robots for movie making
Components of Robot
Actuators –
They convert energy into movement.
Muscle Wires –
They contract by 5% when electric current is passed through them.
Sensors –
They provide knowledge of real time information on the task environment. Robots are equipped
with vision sensors to be to compute the depth in the environment. A tactile sensor imitates the
mechanical properties of touch receptors of human fingertips.