Professional Documents
Culture Documents
INTELLIGENCE
A.Jeyanthi
Associate Professor/CSE
Misrimal Navajee Munoth Jain Engg
College
Fig:Related Fields of AI
• But if the data has more number of dimensions ;then human cannot
• But Machine learning can learn and understand higher
A.Jeyanthi Associate Professor Misriml
dimensional data Navajee Munoth Jain Engg College
14
Three Components of Machine learning
For Ex: To train the machine learning model to recognise dog images
1) data set consisting of N dog images is collected
2) the features are extracted from the images
3) Using the extracted features the model is trained and the trained model is tested with any
dog images
The drawback of machine learning
1) If we give input for which the model is not trained then the algorithm may provide wrong
output
Machine learning if we give the input for which it is not trained then show some errors
A.Jeyanthi Associate Professor Misriml
17
Navajee Munoth Jain Engg College
Deep learning
• Deep learning is a class of machine learning algorithms inspired by the
structure of a human brain.
• Human brain is a network of neurons using which human can understand
and learn things
• In the same way if we make m/c to undersatnd complex things it is called
DL which uses multi layered neural netwok
• Neural network consist of i/p layer , o/p layer and hidden layers
• These layers simulate the function of neurons
• Neural network replicate neurons of human for cognitive learning
• In Neural network If the number of layer is more it is called deep learning
• when human see different types of dogs, the brain create abstract view
of the dogs
• So even if we see the dog for the first time, we can recognize it as Dog
• In similar way DL extracts the features that are common in all dogs
based on these it can recognize it
• DL consists of multiple NN layers
• These layers simulate the function of neurons
• Solving a variety of
problems ofpatients,
hospitals & healthcare
industry overall. • Robots have become very • Algorithmic Trading
• Using Avatars in place common in many • Market analysis &
of patients. data
industries
mining
• Can do repetitive • Personal Finance
A.Jeyanthi Associate Professor Misriml
laborious tasks
Navajee Munoth Jain Engg College • Portfolio 22
A.Jeyanthi Associate Professor Misriml
23
Navajee Munoth Jain Engg College
High cost
Machine Ethics
No improvement
with experience
A.Jeyanthi Associate Professor Misriml
24
Navajee Munoth Jain Engg College
OBJECTIVES :
• 1. Behaving humanly :
Behaving intelligently like a human
• 2.Behaving rationally:
• Doing the right thing or behaving in best possible
manner
Human behaviour cannot satisfy the definition of
rationality
therefore it is not rational
•
• A.Jeyanthi Associate Professor Misriml
36
Navajee Munoth Jain Engg College
• Table lookup Approach (or) Look up table approach for agent constn
• In this approach the agent function that maps the percept to action is
tabulated
• given an agent we can construct this table by trying out all possible
percept sequence and recording which action the agent does in
response
• Example of table Driven Approach:
• Vacuum-cleaner world
camera,
safe, fast, steering, sonar,
roads, other
legal, accelerator, speedometer,
traffic,
comfortable brake, GPS,
pedestrians,
trip, signal, horn, odometer,
customers
maximize display engine
profits sensors,
keyboard,
accelerator
Dynamic:The environment changes over the time independent of the action of the
agent
Ex: Taxi Driving
5.Discrete (vs. continuous) Environment:
Discrete: If percept, action occurs at finite time interval
Ex:Chess
Continuous: If percept, action occurs are continuous in time.
Ex: taxi
6.single agent vs multi agent environment
single agent environment has single agent
Ex: Crossword Puzzle
multi agent environment :Has multiple agents Ex:Chess
A.Jeyanthi Associate
Professor Misriml
54
Navajee Munoth Jain
Engg College
Simple Reflex Agent
• The simplest kind of agent is the simple reflex agent. These agents select actions on the
basis of the current percept, ignoring the rest of the percept history.
• Its suitable only for fully observable environment
• Ex: Vacuum Cleaner Agent
• INTERPRET-INPUT :function generates an abstracted description of the current state from the
percept
• RULE-MATCH function returns the first rule in the set of rules that matches the given state
description
• RULE - ACTION – the selected rule is executed as action of the given percept
• Advantage:Simple reflex agents have the admirable property of being simple,
• Disadvantage: but has limited intelligence. It will work only if the environment is fully
observable.Even a little bit of unobservability can cause serious trouble.
• For example, earlier assumed that the condition car-in-front-is-braking can be determined from
the current single frame of video. Unfortunately, its not possible always
• Unfortunately, older models have different configurations of taillights, brake lights, and turn-signal
lights, and it is not always possible to tell from a single image
• whether the car is braking. A simpleA.Jeyanthi
reflex agent driving behind such a car would either brake
Associate Professor Misriml
continuously and unnecessarily, or, worse, neverJainbrake 57
Navajee Munoth Engg at all
College
Model based Reflex Agents
• The most effective way to handle partial observability.
• It maintains the internal state or internal rep of the world called
‘’model’’ to keep track of the change in an environment. Hence is
called model based agents.
• It stores info on unobserved aspects of current state
• It combines the current percept with old internal state to generate
updated discription of current state
• Model based agent update internal state info using 2 things:
• 1.information about how the world evolves independently of the
agent—for example, that an overtaking car generally will
• be closer behind than it was a moment ago.
• 2.Information about how the agent’s own actions affect the world—
for example, that when the agent turns the steering wheel clockwise,
the car turns to the right,
A.Jeyanthi Associate Professor Misriml
58
Navajee Munoth Jain Engg College
A.Jeyanthi Associate Professor Misriml
59
Navajee Munoth Jain Engg College
The function UPDATE-STATE, is responsible for creating the new internal state description
A.Jeyanthi Associate
Professor Misriml
61
Navajee Munoth Jain
Engg College
• Goal-Based Agent
• Knowing something about the current state of the environment is not always enough to
decide what to do.
• For example, at a road junction, the taxi can turn left, turn right, or go straight on.
• The correct decision depends on destination.
• Therefore, in addition to current state description, the agent needs some sort of goal
information to reach the goal
• The agent program can combine the goal info with model to choose the action that achieves
goal
• Therefore goal based agent chooses action based on goal.
• goal-based action selection is straightforward if it can be achieved from a single action.
• If goal achievement needs long action sequence, -then it needs searching and planning
technique
• Advantages:
• Although the goal-based agent appears less efficient, it is more flexible ,because in
automated taxi goal based agent can be easily changed for different locations
• 2.The traveling salesperson problem (TSP) is a touring problem in which each city must be visited
exactly once. The aim is to find the shortest tour.
• 3. VLSI layout problem requires positioning millions of components and connections on a chip to
minimize area, minimize circuit delays, minimize stray capacitances, and maximize manufacturing yield.
The layout problem comes after the logical design phase, and is usually split into two parts:
• cell layout and
• channel routing.
• In cell layout, the primitive components of the circuit are grouped into cells, each of which performs
some recognized function. Each cell has a fixed footprint (size and shape) and requires a certain number
of connections to each of the other cells. The aim is to place the cells on the chip so that they do not
overlap and so that there is room for the connecting wires to be placed between the cells.
• Channel routing finds a specific route for each wire
• through the gaps between the cells.
B C
D E
• Time is often measured in terms of the number of nodes generated during the
search,
• space in terms of the maximum number of nodes stored in memory.