Unit-1 Prabhu New-1
Unit-1 Prabhu New-1
UNIT - 1
Introduction to AI
Presented by
Dr. R. Prabhu
Assistant Professor
Dept. of Networking & Communications
School of Computing
SRM Institute of Science & Technology
Topics-Introduction to AI
• AI-Basics
• AI techniques
• Problem solving with AI
• AI Models
• Data acquisition and learning aspects in AI
• Problem solving
• Problem solving process
• Formulating problems
• Problem types and characteristics
• Problem space and search
• Toy Problems
• Tic-tac-toe problems
• Missionaries and Cannibals Problem
• Real World Problem
• Travelling Salesman Problem
Dr.R. Prabhu Dept of Networking & Communications 2
Overview of AI
Definition of Artificial Intelligence
• Artificial-(Man Made)
• AI is the branch of computer science by which we can create intelligent machine that can
behave like a human, act like a human, able to make decisions for solving the problems.
• AI don’t need any preprogrammed machine to do some work.
• We have to create a machine with programmed algorithms which can work with its own
intelligence.
What is Artificial Intelligence?
• Artificial Intelligence is the study of how to make computers do things at which, at the
moment, people are better. (Rich and Knight)
• It deals with the science that is about the efforts of making a machine behave intelligently
and respond in a way as human would have responded and in due process, deliver
reasonable answers.
• In other words, a branch of science and engineering that focuses on making machine
intelligent is widely known as AI.
Why Artificial Intelligence?
• create software (or) device, which can solve real world problems very easily and accuracy
such as health issues, marketing and traffic issues.
• create our personal virtual assistants, such as Google Assistant, siri etc.
• Build robots which can work in a environment where survival of human is at risk.
4. Building a machine which can perform tasks that requires human intelligence such as
• Providing a theorem
• Playing chess
HUMAN RATIONAL
Artificial Intelligence
• Playing chess
• Driving on the highway
• Answering questions
• Recognizing speech
• Diagnosing diseases
• Translating languages
• Data mining
ARTIFICIAL INTELLIGENCE- HISTORY
AND FOUNDATION
• Later Fuzzy logic came into the picture that allowed deciding the level of water dynamically based on
the quantity of cloth.
• The main objective of Al techniques is to capture knowledge based on the data and information.
• The knowledge captures generalizations that share properties, are grouped together, rather than
being allowed separate representation.
1. Structured problems
2. Unstructured problems
3. Linear problems
4. Non-linear problems
PROBLEM SOLVING WITH AI
• Al has been very well used to solve structured problems. (well and ill structured problems).
• The well-structured problems are some of the very commonly faced problems during day-to-day life.
These problems yield a right answer or right inference when an appropriate algorithm is applied.
• unstructured problems are difficult to represent and model. There are possibilities of more than
one goal states in case of unstructured problems.
• In most of the cases, exact goal is not known. Eg, System to improve life expectancy of human
AI MODELS
One important aspect of building Al solutions is modelling the problem. Dunker introduced 'maze
hypothesis' as a part of the psychological theory. In this particular hypothesis, the creative and
intelligent tasks handled by human beings are modelled like a set of maze of paths from an initial node
to a certain or resultant node. Human at any point of time analyses maze; for choices, he could find
those which can lead to goal. These choices and maze-based approach can help in solving many multi
alternative solution problems..
Slowly, it became evident that all problems cannot be solved using maze models or the approach
described above. This brought more focus on logic theory machines. Effective application of logic
theory machines is found very useful in general problem solving, even this is found very useful for a
wide spectrum of problems like chess problem.
Chess can be viewed as a controlled environment in which computer is given a situation and a goal.
AI MODELS
Semiotics Models:
Semiotics is the study of the use of symbolic communication. Semiotics can
include signs, logos, gestures and other linguistic and nonlinguistic
communication methods. As a word, semiotics derives from the Greek,
which describes the action of interpreting sign.
Statistical Models:
Statistical models refer to representation and formalisation of relationships
through statistical techniques.
Most of the Al problems can be represented as statistical or pattern
matching problems. Various learning models from Al perspective are based
on statistics.
The historical data is used here in decision-making.
Statistical model employs probabilistic approaches and is typically a
collection of probability density functions and distribution functions.
AI MODELS
1. Knowledge discovery-Data mining and machine learning: Data Extraction, Extracting the meaning
full information . The mining process includes data cleaning, preprocessing, identifying and interpreting
the patterns, understanding the application and generating the target data with the consolidated
patterns.
2. Computational learning theory (COLT): Mathematical Model, These models help in analyzing the
efficiency and complexity in terms of computation, prediction and feasibility of the algorithms.
3. Neural and evolutionary computation: to speed up the Mining of data, based on Biological properties
eg, Neural Network
4. Intelligent agents and multi-agent systems: Intelligent agents and multi-agent systems (MAS) si a
core part of intelligent systems, which allows timely decision-making in complex scenarios. An agent in
simple terms, is a software program that assists user. An intelligent agent is the one which is flexible in
terms of its action to get the desired outcome.
DATA ACQUISITION AND LEARNING ASPECTS IN AI
5. Multi-perspective integrated intelligence: For any problem to solve, each and every individual can
have his own perspective. Some information might be present in some perspective, while it could be
missing in other perspective, which could be effective in terms of decision-making.
Example:
Consider a scenario, where you want to apply for a job in a renowned company. You tend to seek feedback
from some employees. Each will have his own perspective in relation to management, working
environment, appraisals and so on. Some friend of yours might not be working, but is acquainted with the
company. He would also have a different perspective. Based on this knowledge, possibly you could land
upon a decision whether to take up the job or not.
Problem Solving
• Problem solving, as the name suggests, is an area to deal with finding answer for some unknown
situations.
• It involves understanding, representation, formulation and solving.
This simple definition encapsulates two types of problems
1. Simple Problem
2. Complex Problem
1. Simple Problem can be solved by a deterministic procedure. There is a guarantee of a solution.
2. Solving complex problems is indeed a complex and tricky task. For us, solving a problem at hand is
not so difficult since we can reason out, perceive, learn, but for a machine, it is actually very difficult.
While drawing conclusions, we can use the statistical methods, the mathematical modelling
processes and so on to get the best solutions.
• Al focuses on mapping of these intellectual abilities into the machine to get the best solutions.
Problem Solving Process
Problem-solving is a process of generating solutions for a given situation.
• The above diagram shows problem-solving process applied to achieve goal state.
• This process consists of sequence of well-defined methods that can handle doubts or inconsistency
issues, uncertainty, ambiguity and help in achieving the desired goal.
• Solution to any problem is the collection of such different states and set of operations.
• This collection of states is termed as state space.
• Each of these states is achieved using the application of actions/ operations to the previous state.
During problem-solving process, an operator is applied to a state to move it to the next state.
FORMULATING PROBLEMS
Consider a problem where three cells in the four-cell board are filed with single digits and one cell is
left blank. The game is to change positions of the digit and blank cell of the board to arrive at new
board positions. The rule of the game is blank cell can change the position with a digit by horizontal or
vertical movement.
Diagram represents the initial and the final states of this game.
PROBLEM: To reach from the initial state to the final state, with the minimum number of moves.
4. Unknown state space: Unknown state space problems are typically exploration problems. States and
impact of actions are not known. There is a need to discover to understand the outcomes of actions.
For example, online search that involves acting without complete knowledge of the next state or
searching address without map.
Problem Characteristics