Artificial Intelligence: Unit 1-I
Artificial Intelligence: Unit 1-I
UNIT 1-I
Introduction to AI
• Artificial Intelligence is composed of two
words Artificial and Intelligence, where Artificial
defines "man-made," and intelligence defines "thinking
power", hence AI means "a man-made thinking power."
• Artificial intelligence (AI) is a branch of computer science
which focuses on the creation of intelligent machines that
work and react like humans.
• Intelligence includes- Ability to learn, to understand, to
perceive, problem solving capability and rationally adapt to
change
• Also this intelligence is induced in machines by using artificial
methods like algorithms.
Why AI?
• Few reasons to learn about AI:
• With the help of AI, you can create such software or devices
which can solve real-world problems very easily and with
accuracy such as health issues, marketing, traffic issues, etc.
• With the help of AI, you can create your personal virtual
Assistant, such as Cortana, Google Assistant, Siri, etc.
• With the help of AI, you can build such Robots which can
work in an environment where survival of humans can be at
risk.
• AI opens a path for other new technologies, new devices, and
new Opportunities.
Goals of AI
Following are the main goals of Artificial Intelligence:
• Replicate human intelligence
• Solve Knowledge-intensive tasks
• An intelligent connection of perception and action
• Building a machine which can perform tasks that requires
human intelligence such as:
• Proving a theorem
• Playing chess
• Plan some surgical operation
• Driving a car in traffic
• Creating some system which can exhibit intelligent behavior,
learn new things by itself, demonstrate, explain, and can
advise to its user.
What Comprises to AI?
• To create the AI first we should know that how intelligence is
composed, so the Intelligence is an intangible part of our
brain which is a combination of Reasoning, learning,
problem-solving perception, language understanding, etc.
• To achieve the above factors for a machine or software
Artificial Intelligence requires the following discipline:
• Mathematics
• Biology
• Psychology
• Sociology
• Computer Science
• Neurons Study
• Statistics
Approaches to AI
1. Act Humanly :- This approach deals with creating machines
which do things same as the human does. Like – Robotics,
Natural Language Processing.
2. Think Humanly :- Involves thinking like humans do while
making decision, solving problems, learning etc. this approach
involves cognitive modeling.
3. Act Rationally :- This approach leads to do things in right
manner and behave in right manner as per the situation.
Maximizing the performance of the system by designing
intelligent agents.
4. Think Rationally :- Means always thinking in right manner.
Development of correct logic for particular domain. It
requires good knowledge for agent to think in right direction.
History of AI
Applications of AI
Following are some sectors which have the application
of Artificial Intelligence:
Intelligent Agents
• An AI system is composed of an agent and its environment.
The agents act in their environment. An agent is anything
which perceives from its environment through sensors and
act upon that environment through actuators and directs the
activities towards goals. Human has ears, eyes & other organs
as sensors and hand, legs, mouth as actuators similarly
intelligent agents has.
Intelligent Agents
Components
• Percepts - A percept is the input that an intelligent agent is
perceiving at any given moment. It is essentially the same
concept as a percept in psychology, except that it is being
perceived not by the brain but by the agent.
• Sensors – Manmade devices which take the perceived
knowledge as input and provide to the agents for further
functioning. (Vision and Imaging, Temperature, Proximity,
Pressure and Position Sensors)
• Actuators - An actuator is a component of a machine that is
responsible for moving and controlling a mechanism or
system, for example by opening a valve. In simple terms, it is a
"mover".
• Action – Actions are performed on the environment by the
agents by applying agent functions.
Intelligent Agents
• Following are the main four rules for an AI agent:
• Rule 1: An AI agent must have the ability to perceive the
environment.
• Rule 2: The observation must be used to make
decisions.
• Rule 3: Decision should result in an action.
• Rule 4: The action taken by an AI agent must be a
rational action.
Structure of an AI Agent
• The task of AI is to design an agent program which
implements the agent function. The structure of an intelligent
agent is a combination of architecture and agent program. It
can be viewed as:
• Agent = Architecture + Agent program
• Following are the main three terms involved in the structure
of an AI agent:
• Architecture: Architecture is machinery that an AI agent
executes on.
• Agent Function: Agent function is used to map a percept to
an action.
• f:P* → A
• Agent program: Agent program is an implementation of
agent function. An agent program executes on the physical
architecture to produce function f.
Types of Intelligent Agents