Chapter 1 and 2
Chapter 1 and 2
Chapter 1 and 2
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.
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.
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.
Vision Systems − these systems understand, interpret, and comprehend visual input on the
computer. For example,
A spying aeroplane takes photographs, which are used to figure out spatial information
or map of the areas.
Police use computer software that can recognize the face of criminal with the stored
portrait made by forensic artist.
Handwriting Recognition − the handwriting recognition software reads the text written on
paper by a pen or on screen by a stylus. It can recognize the shapes of the letters and
convert it into editable text.
Intelligent Robots − Robots are able to perform the tasks given by a human. They have
sensors to detect physical data from the real world such as light, heat, temperature,
movement, sound, bump, and pressure. They have efficient processors, multiple sensors
and huge memory, to exhibit intelligence. In addition, they are capable of learning from their
mistakes and they can adapt to the new environment.
In simple words, it is developed to make human life easy in different aspects and perform
enormous works with more accuracy. It has become an intelligent part of today’s industry which
is crucial as data is growing Big. It can perform tasks such as identifying patterns in data more
effectively than humans thus making business more profitable. Knowledge Engineering
and Machine learning is a core part of AI. Some of the objectives of AI are:
Programming a computer to act like a human is a difficult task and requires that the computer
system be able to understand and process commands in natural language, store knowledge,
retrieve and process that knowledge in order to derive conclusions and make decisions, learn to
adapt to new situations, perceive objects through computer vision, and have robotic capabilities
to move and manipulate objects. Although this approach was inspired by the Turing Test, most
programs have been developed with the goal of enabling computers to interact with humans in a
natural way rather than passing the Turing Test.
The Turing Test is used as a theoretical standard to determine whether a human judge can
distinguish via a conversation with one machine and one human which a human is and which is
a machine. If a machine can trick the human judge into thinking it is human then it passes the
Turing Test
The concept of AI began around 1943 and became a field of study in 1956 at Dartmouth. AI is
not limited to the Computer Sciences disciplines, but can be seen in countless disciplines such
as Mathematics, Philosophy, Economics, Neuroscience, psychology and various other areas.
The areas of interest in the Computer Science and Engineering field are focused on how we can
build more efficient computers. Great advancements have been made in the area of hardware
and software. Here is the history of AI during 20th century:
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.
1956 John McCarthy coined the term Artificial Intelligence. Demonstration of the first running
Danny Bobrow's dissertation at MIT showed that computers can understand natural
1964 language well enough to solve algebra word problems correctly.
The Assembly Robotics group at Edinburgh University built Freddy, the Famous Scottish
1973 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.
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 with
2000 a face that expresses emotions. The robot Nomad explores remote regions of Antarctica
and locates meteorites.
An intelligent agent is an AI hardware and/or software system with some degree of autonomy
and the capacity to make decisions and take actions. Intelligent agents are more advanced than
conventional agents whose actions are completely programmed. An agent program might, for
example, use human-defined parameters to search a knowledge base or the Internet and
organize that information for presentation to the user.
Intelligent agents, at their most complexes, include physical systems, such as AI- equipped
android (humanoid) robots. Although it has not yet been demonstrated, some believe that a
future system could not only look like a human but could also replicate human cognitive powers
in artificial general intelligence (AGI) or even overwhelmingly surpass it in artificial super
intelligence (ASI). At the lower end of the scale lie more task-specific software programs, such
as expert systems that work similarly to conventional agent programs but nevertheless some
degree of autonomy and physical agents that take in sensor data and act on it.
2.2 Agent Terminology
Performance Measure of Agent − It is the criteria, which determines how successful an
agent is.
Behavior of Agent − It is the action that agent performs after any given sequence of
percepts.
Percept − It is agent’s perceptual inputs at a given instance.
Percept Sequence − It is the history of all that an agent has perceived till date.
Agent Function − It is a map from the precept sequence to an action.
Agent Rationality
Rationality is nothing but status of being reasonable, sensible, and having good sense of
judgment.
Rationality is concerned with expected actions and results depending upon what the agent has
perceived. Performing actions with the aim of obtaining useful information is an important part
of rationality.
A rational agent always performs right action, where the right action means the action that
causes the agent to be most successful in the given percept sequence. The problem the agent
solves is characterized by Performance Measure, Environment, Actuators, and Sensors
(PEAS).
2.3 Structure of Intelligent Agents
Agent’s structure can be viewed as:
Agent = Architecture + Agent Program
Types of Agents
Agents can be grouped into four classes based on their degree of perceived intelligence and
capability:
Utility-Based Agents
Simple Reflex Agents
Simple reflex agents ignore the rest of the percept history and act only on the basis of
the current percept. Percept history is the history of all that an agent has perceived till date.
The agent function is based on the condition-action rule. A condition-action rule is a rule that
maps a state i.e, condition to an action. If the condition is true, then the action is taken, else not.
This agent function only succeeds when the environment is fully observable. For simple reflex
agents operating in partially observable environments, infinite loops are often unavoidable. It
may be possible to escape from infinite loops if the agent can randomize its actions. Problems
with Simple reflex agents are:
There are conflicting goals, out of which only few can be achieved.
Goals have some uncertainty of being achieved and you need to weigh likelihood of
success against the importance of a goal.
The most famous artificial environment is the Turing Test environment, in which one real
and other artificial agent are tested on equal ground. This is a very challenging environment as
it is highly difficult for a software agent to perform as well as a human.
Turing Test
The success of an intelligent behavior of a system can be measured with Turing Test. Two
persons and a machine to be evaluated participate in the test. Out of the two persons, one
plays the role of the tester. Each of them sits in different rooms. The tester is unaware of who is
machine and who is a human. He interrogates the questions by typing and sending them to
both intelligences, to which he receives typed responses.
This test aims at fooling the tester. If the tester fails to determine machine’s response from the
human response, then the machine is said to be intelligent.
Properties of Environment
The environment has multifold properties:
Discrete / Continuous − If there are a limited number of distinct, clearly defined, states
of the environment, the environment is discrete (For example, chess); otherwise it is
continuous (For example, driving).
Static / Dynamic − If the environment does not change while an agent is acting, then it
is static; otherwise it is dynamic.
Single agent / Multiple agents − The environment may contain other agents which
may be of the same or different kind as that of the agent.
Accessible / Inaccessible − If the agent’s sensory apparatus can have access to the
complete state of the environment, then the environment is accessible to that agent.
Assignment-1
To be submitted after two weeks starting from our last time encounter/session.
Don’t copy from one another because I hate those guys.
At the end everyone’s work will be collected and presented in group of five
peoples according to your alphabets.