Ai Notes
Ai Notes
Overview
Since the invention of computers or machines, their capability to perform various tasks
went on growing exponentially. Humans have developed the power of computer systems
in terms of their diverse working domains, their increasing speed, and reducing size with
respect to time.
programs”.
• Artificial Intelligence is a way of making a computer, a computer-controlled
• AI is accomplished by studying how human brain thinks, and how humans learn,
decide, and work while trying to solve a problem, and then using the outcomes of
this study as a basis of developing intelligent software and systems.
1
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
• It is related to the similar task of using computers to understand human intelligence, but
AI does not have to confine itself to methods that are biologically observable
Definition: Artificial Intelligence is the study of how to make computers do things, which, at the
moment, people do better.
According to the father of Artificial Intelligence, John McCarthy, it is “The science and engineering
of making intelligent machines, especially intelligent computer programs”.
Artificial Intelligence is a way of making a computer, a computer-controlled robot, or a
software think intelligently, in the similar manner the intelligent humans think.
AI is accomplished by studying how human brain thinks and how humans learn, decide, and work
while trying to solve a problem, and then using the outcomes of this study as a basis of developing
intelligent software and systems.
It has gained prominence recently due, in part, to big data, or the increase in speed, size and
variety of data businesses are now collecting. AI can perform tasks such as identifying patterns in
the data more efficiently than humans, enabling businesses to gain more insight out of their data.
From a business perspective AI is a set of very powerful tools, and methodologies for using those
tools to solve business problems.
From a programming perspective, AI includes the study of symbolic programming, problem
solving, and search.
AI Vocabulary
Intelligence relates to tasks involving higher mental processes, e.g. creativity, solving problems,
pattern recognition, classification, learning, induction, deduction, building analogies,
optimization, language processing, knowledge and many more. Intelligence is the computational
part of the ability to achieve goals.
Intelligent behavior is depicted by perceiving one’s environment, acting in complex
2
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
environments, learning and understanding from experience, reasoning to solve problems and
discover hidden knowledge, applying knowledge successfully in new situations, thinking
abstractly, using analogies, communicating with others and more.
Science based goals of AI pertain to developing concepts, mechanisms and understanding
biological intelligent behavior. The emphasis is on understanding intelligent behavior.
Engineering based goals of AI relate to developing concepts, theory and practice of building
intelligent machines. The emphasis is on system building.
AI Techniques depict how we represent, manipulate and reason with knowledge in order to solve
problems. Knowledge is a collection of facts. To manipulate these facts by a program, a suitable
representation is required. A good representation facilitates problem solving.
Philosophy of AI
While exploiting the power of the computer systems, the curiosity of human, lead him to
Thus, the development of AI started with the intention of creating similar intelligence in
Goals of AI
• To Create Expert Systems − The systems which exhibit intelligent behavior, learn,
3
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
Out of the following areas, one or multiple areas can contribute to build an intelligent
system.
A computer program without AI can answer A computer program with AI can answer
the specific questions it is meant to solve. the generic questions it is meant to solve.
4
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
What is AI Technique?
In the real world, the knowledge has some unwelcomed properties −
AI Technique is a manner to organize and use the knowledge efficiently in such a way that
−
AI techniques elevate the speed of execution of the complex program it is equipped with.
Applications of AI
AI has been dominant in various fields such as −
• Gaming − AI plays crucial role in strategic games such as chess, poker, tic-tac-toe,
etc., where machine can think of large number of possible positions based on
heuristic knowledge.
• Expert Systems − There are some applications which integrate machine, software,
and special information to impart reasoning and advising. They provide explanation
and advice to the users.
5
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
o Police use computer software that can recognize the face of criminal with the
stored portrait made by forensic artist.
human talk to it. It can handle different accents, slang words, noise in the
background, change in human’s noise due to cold, etc.
have sensors to detect physical data from the real world such as light, heat,
temperature, movement, sound, bump, and pressure. They have efficient
environment.
History of AI
Here is the history of AI during 20th century −
6
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
Karel Čapek play named “Rossum's Universal Robots” (RUR) opens in London, first use
1923
of the word "robot" in English.
1945 Isaac Asimov, a Columbia University alumni, coined the term Robotics.
1950 published Computing Machinery and Intelligence. Claude Shannon published Detailed
John McCarthy coined the term Artificial Intelligence. Demonstration of the first
1956
running AI program at Carnegie Mellon University.
Danny Bobrow's dissertation at MIT showed that computers can understand natural
1964
language well enough to solve algebra word problems correctly.
7
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
The Assembly Robotics group at Edinburgh University built Freddy, the Famous
1973
Scottish Robot, capable of using vision to locate and assemble models.
1979 The first computer-controlled autonomous vehicle, Stanford Cart, was built.
1985 Harold Cohen created and demonstrated the drawing program, Aaron.
• Case-based reasoning
• Multi-agent planning
1990
• Scheduling
• Data mining, Web Crawler
• Games
1997 The Deep Blue Chess Program beats the then world chess champion, Garry Kasparov.
Interactive robot pets become commercially available. MIT displays Kismet, a robot
2000 with a face that expresses emotions. The robot Nomad explores remote regions of
Antarctica and locates meteorites.
8
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
While studying artificially intelligence, you need to know what intelligence is. This chapter
What is Intelligence?
The ability of a system to calculate, reason, perceive relationships and analogies, learn
from experience, store and retrieve information from memory, solve problems,
comprehend complex ideas, use natural language fluently, classify, generalize, and adapt
new situations.
Types of Intelligence
As described by Howard Gardner, an American developmental psychologist, the
9
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
You can say a machine or a system is artificially intelligent when it is equipped with at
least one and at most all intelligences in it.
• Reasoning
• Learning
• Problem Solving
• Perception
• Linguistic Intelligence
10
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
judgement, making decisions, and prediction. There are broadly two types –
Even if all of the premises are true in a If something is true of a class of things in
statement, inductive reasoning allows for general, it is also true for all members of that
the conclusion to be false. class.
Example − "Nita is a teacher. Nita is Example − "All women of age above 60 years
studious. Therefore, all teachers are are grandmothers. Shalini is 65 years. Therefore,
11
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
up salty last time, when cooked with adding say a tablespoon of salt.
o Spatial Learning − It is learning through visual stimuli such as images,
colors, maps, etc. For Example, A person can create roadmap in mind before
actually following the road.
on hearing doorbell.
• Problem Solving − It is the process in which one perceives and tries to arrive at a
desired solution from a present situation by taking some path, which is blocked by
known or unknown hurdles.
12
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
Problem solving also includes decision making, which is the process of selecting
the best suitable alternative out of multiple alternatives to reach the desired goal
are available.
data.
• Humans store and recall information by patterns, machines do it by searching
algorithms. For example, the number 40404040 is easy to remember, store, and
recall as its pattern is simple.
• Humans can figure out the complete object even if some part of it is missing or
distorted; whereas the machines cannot do it correctly.
13
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
1 Expert Systems
systems.
2
Natural Language Processing
14
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
3 Neural Networks
handwriting recognition.
4 Robotics
etc.
15
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
Machine does not need training for Speech This recognition system needs training as it
The user input spoken at a microphone goes to sound card of the system. The converter
turns the analog signal into equivalent digital signal for the speech processing. The
database is used to compare the sound patterns to recognize the words. Finally, a reverse
This source-language text becomes input to the Translation Engine, which converts it to
the target language text. They are supported with interactive GUI, large database of
vocabulary, etc.
16
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
Review task
The goal of Artificial intelligence is to create intelligent machines that can mimic human behavior.
We need AI for today's world to solve complex problems, make our lives more smoothly by
automating the routine work, saving the manpower, and to perform many more other tasks.
How Artificial intelligence, Machine Learning, and Deep Learning differ from each other?
The difference between AI, ML, and Deep Learning is given in the below table:
The term Artificial The term ML was first The term DL was first coined in the
intelligence was first coined coined in the year 1959 by year 2000 Igor Aizenberg.
in the year 1956 by John Arthur Samuel.
McCarthy.
AI completely deals with ML deals with structured Deep learning deals with structured
structured, semi-structured and semi-structured data. and unstructured data.
data.
It requires a huge amount of It can work with less It requires a huge amount of the
data to work. amount of data compared data compared to the ML.
to deep learning and AI.
17
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
The goal of AI is to enable the The goal of ML is to enable The goal of deep learning is to
machine to think without any the machine to learn from solve the complex problems as the
human intervention. past experiences. human brain does, using various
algorithms.
Artificial intelligence can be divided into different types on the basis of capabilities and
functionalities.
Based on Capabilities:
o Weak AI or Narrow AI: Weak AI is capable of performing some dedicated tasks with
intelligence.
o General AI: The intelligent machines that can perform any intellectual task with efficiency
as a human.
o Strong AI: It is the hypothetical concept that involves the machine that will be better than
humans and will surpass human intelligence.
Based on Functionalities:
o Reactive Machines: Purely reactive machines are the basic types of AI. These focus on the
present actions and cannot store the previous actions. Example: Deep Blue.
o Limited Memory: As its name suggests, it can store the past data or experience for the
limited duration. The self-driving car is an example of such AI types.
o Self-Awareness: Self Awareness AI is the future of Artificial Intelligence that will have their
own consciousness, emotions, similar to humans.
18
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM-BTEE
AI covers lots of domains or subsets, and some main domains are given below:
o Machine Learning
o Deep Learning
o Neural Network
o Expert System
o Fuzzy Logic
o Robotics
o Speech Recognition.
19