SlideShare a Scribd company logo
1 of 62
Artificial Intelligence for Robotics
Unit 1: Introduction to AI Techniques
Dr. Padmakar J. Pawar
Professor and Head
Department of Robotics and Automation
K. K. Wagh Institute of Engineering Education and Research, Nasik
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
1
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
2
Outline:
1. Search algorithms
2. Heuristics and Metaheuristics
3. Handling uncertainties : Fuzzy logic
4. Probabilistic methods for uncertain reasoning
5. Learning methods: Statistical
6. Learning methods : Soft computing - Neural networks
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
3
Uninformed search algorithms:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
4
• Systematic exploration – uninformed search algorithms explore the search space systematically, either by
expanding all children of a node (e.g. BFS) or by exploring as deep as possible in a single path before
backtracking (e.g. DFS).
• No heuristics – uninformed search algorithms do not use additional information, such as heuristics or cost
estimates, to guide the search process.
• Blind search – uninformed search algorithms do not consider the cost of reaching the goal or the likelihood of
finding a solution, leading to a blind search process.
• Simple to implement – uninformed search algorithms are often simple to implement and understand, making
them a good starting point for more complex algorithms.
• Inefficient in complex problems – uninformed search algorithms can be inefficient in complex problems with
large search spaces, leading to an exponential increase in the number of states explored.
• Example: Breadth first search (BFS), Depth search first (DFS), branch and bound etc.
Uninformed search algorithms:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
5
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
6
• Use of Heuristics – informed search algorithms use heuristics, or additional information, to guide the search process
and prioritize which nodes to expand.
• More efficient – informed search algorithms are designed to be more efficient than uninformed search algorithms,
such as breadth-first search or depth-first search, by avoiding the exploration of unlikely paths and focusing on more
promising ones.
• Goal-directed – informed search algorithms are goal-directed, meaning that they are designed to find a solution to a
specific problem.
• Cost-based – informed search algorithms often use cost-based estimates to evaluate nodes, such as the estimated cost
to reach the goal or the cost of a particular path.
• Prioritization – informed search algorithms prioritize which nodes to expand based on the additional information
available, often leading to more efficient problem-solving.
• Optimality – informed search algorithms may guarantee an optimal solution if the heuristics used are admissible
(never overestimating the actual cost) and consistent (the estimated cost is a lower bound on the actual cost).
• Example: A*, Hill climbing, Best first search
Informed search algorithms:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
7
Best First Search (Greedy algorithm)
0 1 3 2 8 9
Applications:
• Path finding-
Navigation system in robotics
• Machine learning
To find most promising path
• Optimization:
To determine best state of
process
3/17/2024 8
Heuristics and Meta-heuristics
Optimizatin Techniques
Traditional Techniques
(Mathematical Optimization)
Non-Traditional Techniques
Non linear programming
Integer programming
Geometric programming
Quadratic programming
Evolutionary Computations Non-gradient
probabilistic
1.Simulated annealing
2.Tabu search
Genetic
algorithm
Particle swarm
optimization
Ant colony optimization
Artificial bee colony
algorithm
Evolve in
genetics
Evolve in
social
behavior
Memetic
algorithm
Linear programming
Method of feasible
direction
3/17/2024 9
Need of meta-heuristics
•Traditional techniques do not fare well over a broad spectrum of problem
domains.
•Traditional techniques are not suitable for solving multi-modal problems
as they tend to obtain a local optimal solution.
•Traditional techniques are not ideal for solving multi-objective
optimization problems and problems involving large number of
constraints.
17 March 2024 Production Engineering Department 10
Optimization of USM process
 
 
)
/
(
1
963
.
4 3
25
.
0
75
.
0
75
.
0
75
.
0
75
.
0
25
.
0
1 s
mm
f
d
C
A
F
K
A
Z v
m
av
v
s
fw
usm
t

 

Objective function:
Maximize MRR:
 
0
.
0
)
(
)
1
(
7
.
1154
0
.
1
5
.
0
m
ax
5
.
0









av
m
v
s
a
fw
t
C
d
A
F
R
A 

11
At = 20 mm2, σfw =6900 MPa, Kusm = 0.1mm-1, (Ra)max = 0.8 m,  = 0.246.
Constraint:
3/17/2024
Variables and their bounds:
•Amplitude of vibration: 0.005  Av  0.1 (mm)
•Frequency of vibration: 10000 fv  40000 (Hz)
•Mean diameter of abrasive grain : 0.007  dm  0.15 (mm)
• Volumetric concentration of abrasive particles in slurry: 0.05  Cav  0.5
static feed force: 4.5  Fs  45 (N)
3/17/2024 12
3/17/2024 13
Genetic Algorithm
Genetic algorithm is the first evolutionary optimization technique introduced by Holand
J. (1975), which is based on Darwinian principle of the ‘survival of fittest’ and the natural
process of evolution through reproduction.
• How Genetic Algorithm differs from traditional optimization techniques?
1. GA work with a coding of the parameter set, not the parameters themselves.
2. GA search from a population of points and not a single point.
3. GA use information of fitness function and not derivatives or other auxiliary
knowledge
3/17/2024 14
4. GA use probabilistic transitions rules and not deterministic rules.
5. It is very likely that the expected GA solution will be global solution.
Genetic Algorithm
3/17/2024 15
Genetic Algorithm: Basic Steps
Coding
Random generator
Reproduction
Crossover
Mutation
Save offspring
3/17/2024 16
Objective function:
S.N
Substring (X1) Substring (X2)
X1 X2 Y
Coded
Value
Decoded
Value
Coded
Value
Decoded
Value
1 1001 9 0010 2 1.8 0.4 12.04
2 0101 5 0001 1 1 0.2 10.4
3 0010 2 1110 14 0.4 2.8 1.76
4 0100 4 1100 12 0.8 2.4 3.44
5 1100 12 1001 9 2.4 1.8 10.36
Genetic Algorithm: Coding
3/17/2024 17
S.N X1 X2 Y F A B Cum. B
Rand.
No
String
X1
String
X2 Y’
1 1.8 0.4 12.04 0.083 0.365 0.073 0.0731 0.440 0010 1110 1.76
2 1 0.2 10.4 0.096 0.423 0.084 0.157 0.220 0010 1110 1.76
3 0.4 2.8 1.76 0.568 2.503 0.500 0.658 0.707 0100 1100 3.44
4 0.8 2.4 3.44 0.290 1.280 0.256 0.914 0.614 0010 1110 1.76
5 2.4 1.8 10.36 0.096 0.425 0.085 1.000 0.669 0100 1100 3.44
Genetic Algorithm : Reproduction
3/17/2024 18
1 ,0
0.0731
0.157
0.658
0.914
3/17/2024 19
S.N.
Reproduction Crossover Mutation
Solution (after first
generation)
X1 X2 Site X1 X2 X1 X2 X1 X2 Y
1 0010 1110 0010 1110 0000 0110 0 1.2 6.4
2 0010 1110 0010 1110 0010 1111 0.4 3.0 1.16
3 0100 1100 2 0110 1110 0110 0110 1.2 1.2 7.84
4 0010 1110 2 0000 1100 0001 1100 0.2 2.4 2.84
5 0010 1110 0010 1110 0010 1111 0.4 3.0 1.16
Genetic Algorithm : Crossover and Mutation
Fuzzy Control : Limitations of traditional control modes
• While applying traditional control, one needs to know about the model and the objective
function formulated in precise terms. This makes it very difficult to apply in many cases.
This makes the P, PI, PID controller costlier.
• The drawbacks associated every control action puts limitations on their capability to
cover a huge range of operating conditions.
• Customization is relatively difficult
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
20
R
P
Q


2
x
Q 
P =h
R
h
x 
 2
dt
dh
A
R
h
x .
1 

dt
dh
AR
h
Rx 

1
A h
x1
x2
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
Transfer function of a process (P(s))
21
dt
dh
AR
h
Rx 

1
1
. Rx
h
R
A dt
dh


)
(
)
(
)
(
. 1 s
Rx
s
h
s
Rsh
A 

)
(
)
(
)
1
.
( 1 s
Rx
s
h
Rs
A 

)
1
.
(
)
(
)
(
1 

Rs
A
R
s
x
s
h
A h
x1
x2
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
22
What is Fuzzy Logic?
 Fuzzy Logic (FL) is a method of reasoning that resembles human reasoning.
 The approach of fuzzy logic imitates the way of decision making in humans that involves
all intermediate possibilities between digital values YES and NO.
 The conventional logic block that a computer can understand takes precise input and
produces a definite output as TRUE or FALSE, which is equivalent to human’s YES or
NO.
 The inventor of fuzzy logic, Zadeh (1965), observed that unlike computers, the human
decision making includes a range of possibilities between YES and NO, such as
CERTAINLY YES, POSSIBLY YES, CANNOT SAY, POSSIBLY NO, CERTAILY NO
etc.
 Fuzzy logic is thus a tool which converts imprecise information (usually a human
character) to a precise information or crisp value (usually a machine characteristic).
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
23
Components of Fuzzy Logic:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
24
What is membership?
A fuzzy set is distinct from a crisp set in that it allows its elements to have a degree of
membership.
The core of a fuzzy set is its membership function: a surface or line that defines the
relationship between a value in the set’s domain and its degree of membership.
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
25
Types of membership functions:
a) Triangular membership function:


























c
x
c
x
b
b
c
x
c
b
x
a
a
b
a
x
a
x
c
b
a
X
,
0
),
/(
)
(
),
/(
)
(
,
0
)
,
,
,
(
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
26
b) Trapezoidal function:





































x
x
c
c
x
c
x
b
b
x
a
a
b
a
x
a
x
c
b
a
x
,
0
),
/(
)
(
,
1
),
/(
)
(
,
0
)
,
,
,
:
(
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
27
c) Gaussian function:

















a
x
e
a
x
e
b
b
a
x
G
a
x
b
a
x
b
r
l
r
l
,
,
)
,
,
:
( 2
2
)
(
)
(
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
28
X1
X2
A
h
Continuous process control using Fuzzy Logic
 Flow rate X1 is to be controlled to maintain constant
fluid level h
 X1 depend on (i) Deviation of fluid level (DFL) from
maximum fluid level L and (ii) Difference in flow rates
(X) = X1 - X2
 Membership function for DFL [Low, Moderate, High]
 Membership function for X [Negative, Average,
Positive]
 Membership function for response X1 :
[Open more, Open Less, Average, Close less, Close
More].
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
29
Low (10) Moderate (50) High (80)
10 30 40 60 70 80

The triangular membership function () for DFL
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
30
-6 -4 -2 2 4 6
Highly Negative
(-6 lpm) Low (0 lpm) Highly
Positive(6 lpm)

The triangular membership function () for X
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
31
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
32
 If DFL is LOW and X is HIGHLY NEGATIVE then CLOSE VERY LITTLE
 If DFL is LOW and X is LOW then CLOSE LITTLE
 If DFL is LOW and X is HIGHLY POSITIVE then CLOSE LARGE
 If DFL is MODERATE and X is HIGHLY NEGATIVE then OPEN LITTLE
 If DFL is MODERATE and X is LOW then CLOSE VERY LITTLE
 If DFL is MODERATE and X is HIGHLY POSITIVE then CLOSE LARGE
 If DFL is HIGH and X is HIGHLY NEGATIVE then OPEN LARGE
 If DFL is HIGH and X is LOW then OPEN LITTLE
 If DFL is HIGH and X is HIGHLY POSITIVE then CLOSE VERY LITTLE
Fuzzy Rules
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
33
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
34
Now at any given point of time, deviation in fluid level (DFL) is 64 and difference in flow rate
( X) is -3.6, what will be the controller output?
The fuzzy set operations
Union:
AUB = Max (A, B)
The Union operation in Fuzzy set theory is the equivalent of the OR operation in
Boolean algebra.
Intersection:
AB = Min (A, B)
The Intersection operation in Fuzzy set theory is the equivalent of
the AND operation in Boolean algebra.
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
35
Complement:
A
A

 
1
The Complement operation in Fuzzy set theory is the equivalent of
the NOT operation in Boolean algebra.
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
36
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
37
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
38
Center of Sums Method:
De-fuzzification methods
Center of gravity Method:
Center of Area / Bisector of Area Method:
Weighted Average Method:
Maxima Method:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
39
OPEN LARGE: Hatch Area = 0.672
OPEN LITTLE: Hatch Area = 1.312
CLOSE VERY LITTLE: Hatch Area = 0.703
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
40
The crisp score of X1:
𝑋1 𝑣𝑎𝑙𝑢𝑒 =
0.703 × 0.5 + 1.312 × 4 + 0.672 × 10
0.703 + 1.312 + 0672
= 4.58
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
41
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
42
Bayesian Network
Subject Well
Studied
Question paper
is Easy
Success in Exam
Placement Higher studies
T 0.6
F 0.4
T 0.4
F 0.6
SWS QPE P(SE=T) P(SE=F)
T T 0.94 0.06
T F 0.90 0.10
F T 0.60 0.40
F F 0.20 0.80
SE P(P=T) P(P=F)
T 0.75 0.25
F 0.02 0.98
SE P(HS=T) P(HS=F)
T 0.91 0.09
F 0.05 0.95
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
43
Calculate the probability that the student get both placement as well as admission to higher studies, get
success in exam, but subject was not studied well and question paper was not easy..
P(P, HS, SE, ¬SWS, ¬QPE) = P (P|SE) *P (HS|SE)*P (SE|¬SWS ^ ¬QPE) *P (¬SWS) *P (¬QPE)
= 0.75 × 0.91 × 0.20 × 0.4 × 0.6
= 0.032
44
Pollution
(POL)
Smoking (SM)
Lung Cancer (LC)
Constipation (C)
Short breathing
(SB)
T 0.3
F 0.7
T 0.6
F 0.4
POL SM P(LC=T) P(LC=F)
T T 0.85 0.15
T F 0.71 0.29
F T 0.75 0.25
F F 0.10 0.90
LC P(C=T) P(C=F)
T 0.55 0.45
F 0.32 0.68
LC P(SB=T) P(SB=F)
T 0.63 0.37
F 0.25 0.75
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
45
Hidden Markov Model
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
46
A hidden Markov model consists of five important components:
• Initial probability distribution:
• One or more hidden states
• Transition probability distribution:
• A sequence of observations
• Emission probabilities:
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
47
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
48
Parameters Supervised machine learning Unsupervised machine learning
Input Data Algorithms are trained using labelled data. Algorithms are used against data that is not labeled
Computational Complexity Simpler method Computationally complex
Accuracy Highly accurate Less accurate
No. of classes No. of classes is known No. of classes is not known
Data Analysis Uses offline analysis Uses real-time analysis of data
Algorithms used
Linear and Logistics regression, Random forest,
Support Vector Machine, Neural Network, etc.
K-Means clustering, Hierarchical clustering,
A priori algorithm, etc.
Output Desired output is given. Desired output is not given.
Training data Use training data to infer model. No training data is used.
Complex model
It is not possible to learn larger and more complex
models than with supervised learning.
It is possible to learn larger and more complex
models with unsupervised learning.
Model We can test our model. We can not test our model.
Called as Supervised learning is also called classification. Unsupervised learning is also called clustering.
Example Example: Optical character recognition. Example: Find a face in an image.
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
49
Supervised Learning: Regression
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
50
Supervised Learning: Classification
•An artificial neural network is a computational model based on the how brain solves
certain kinds of problems.
• The human brain can be described as a biological neural network—an interconnected web
of neurons transmitting elaborate patterns of electrical signals. Dendrites receive input
signals and, based on those inputs, fire an output signal via an axon.
•The most common application of neural networks in computing today is to perform one of
these “easy-for-a-human, difficult-for-a-machine” tasks, often referred to as pattern
recognition.
Neural network: Definition
One of the key elements of a neural network is its ability to learn. A neural network is
not just a complex system, but a complex adaptive system, meaning it can change its
internal structure based on the information flowing through it. Typically, this is achieved
through the adjusting of weights. In ANN diagram, each line represents a connection
between two neurons and indicates the pathway for the flow of information. Each
connection has a weight, a number that controls the signal between the two neurons. If
the network generates a “good” output, there is no need to adjust the weights. However,
if the network generates a “poor” output—an error, then the system adapts, altering the
weights in order to improve subsequent results.
The Perceptron
2
2
2
2
1
1
2
1
2
2
1
2
2
6
1
5
1
2
1
1
2
2
1
1
1
)
(
2
1
)
(
2
1
)
arg
(
2
1
1
1
1
1
1
1
:
1
1
o
o
O
O
Total
O
net
O
h
h
o
h
net
h
h
out
z
out
z
E
E
output
et
t
E
out
e
out
b
out
w
out
w
net
out
e
out
b
i
w
i
w
net
Pass
Forward
o
h



























Back Propagation Algorithm
The Backwards Pass
Output Layer
Consider w5. We want to know how much a change in w5 affects
the total error.
 












2
1
1
1
5
1
5
)
arg
(
2
1
output
et
t
E
out
E
net
out
w
net
w
E
Total
o
Total
o
o
o
Total
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
57
Supervised Learning: Neural Network
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
58
Un-Supervised Learning: Clustering
Classification
Yellow / Blue
Clustering
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
59
Un-Supervised Learning: Principal Component Analysis
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
60
[30-70] [2-9] [10-35]
x1 x2 x3
1 36 8 26
2 67 9 32
3 34 3 35
4 69 4 23
5 34 2 27
6 49 8 25
7 53 6 11
8 66 9 18
9 62 5 23
10 54 3 20
Quanity of alloying element (gm)
Type
of
alloy
steel
Unsupervised Learning: Clustering
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
61
Unsupervised Learning: Clustering
Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER,
Nashik
62

More Related Content

Similar to Artificial Intelligence for Robotic AIFR

SoftComputing.pdf
SoftComputing.pdfSoftComputing.pdf
SoftComputing.pdfktosri
 
report2.doc
report2.docreport2.doc
report2.docbutest
 
ArtificialIntelligenceInObjectDetection-Report.pdf
ArtificialIntelligenceInObjectDetection-Report.pdfArtificialIntelligenceInObjectDetection-Report.pdf
ArtificialIntelligenceInObjectDetection-Report.pdfAbishek86232
 
Hierarchical Temporal Memory for Real-time Anomaly Detection
Hierarchical Temporal Memory for Real-time Anomaly DetectionHierarchical Temporal Memory for Real-time Anomaly Detection
Hierarchical Temporal Memory for Real-time Anomaly DetectionIhor Bobak
 
Why Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainWhy Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainNumenta
 
Multi Sensor Data Fusion In Target Tracking
Multi Sensor Data Fusion In Target TrackingMulti Sensor Data Fusion In Target Tracking
Multi Sensor Data Fusion In Target TrackingVasuhiSamydurai1
 
ESM Machine learning 5주차 Review by Mario Cho
ESM Machine learning 5주차 Review by Mario ChoESM Machine learning 5주차 Review by Mario Cho
ESM Machine learning 5주차 Review by Mario ChoMario Cho
 
An efficient fuzzy classifier with feature selection based
An efficient fuzzy classifier with feature selection basedAn efficient fuzzy classifier with feature selection based
An efficient fuzzy classifier with feature selection basedssairayousaf
 
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data ijscai
 
Lecture 4 neural networks
Lecture 4 neural networksLecture 4 neural networks
Lecture 4 neural networksParveenMalik18
 
An analysis of_machine_and_human_analytics_in_classification
An analysis of_machine_and_human_analytics_in_classificationAn analysis of_machine_and_human_analytics_in_classification
An analysis of_machine_and_human_analytics_in_classificationSubhashis Hazarika
 
Artificial intelligent Lec 1-ai-introduction-
Artificial intelligent Lec 1-ai-introduction-Artificial intelligent Lec 1-ai-introduction-
Artificial intelligent Lec 1-ai-introduction-Taymoor Nazmy
 
Neural Networks and Deep Learning for Physicists
Neural Networks and Deep Learning for PhysicistsNeural Networks and Deep Learning for Physicists
Neural Networks and Deep Learning for PhysicistsHéloïse Nonne
 
Principles of Hierarchical Temporal Memory - Foundations of Machine Intelligence
Principles of Hierarchical Temporal Memory - Foundations of Machine IntelligencePrinciples of Hierarchical Temporal Memory - Foundations of Machine Intelligence
Principles of Hierarchical Temporal Memory - Foundations of Machine IntelligenceNumenta
 

Similar to Artificial Intelligence for Robotic AIFR (20)

SoftComputing.pdf
SoftComputing.pdfSoftComputing.pdf
SoftComputing.pdf
 
report2.doc
report2.docreport2.doc
report2.doc
 
ArtificialIntelligenceInObjectDetection-Report.pdf
ArtificialIntelligenceInObjectDetection-Report.pdfArtificialIntelligenceInObjectDetection-Report.pdf
ArtificialIntelligenceInObjectDetection-Report.pdf
 
Data mining
Data mining Data mining
Data mining
 
Hierarchical Temporal Memory for Real-time Anomaly Detection
Hierarchical Temporal Memory for Real-time Anomaly DetectionHierarchical Temporal Memory for Real-time Anomaly Detection
Hierarchical Temporal Memory for Real-time Anomaly Detection
 
2018 Modern Math Workshop - Nonparametric Regression and Classification for M...
2018 Modern Math Workshop - Nonparametric Regression and Classification for M...2018 Modern Math Workshop - Nonparametric Regression and Classification for M...
2018 Modern Math Workshop - Nonparametric Regression and Classification for M...
 
AI and Deep Learning
AI and Deep Learning AI and Deep Learning
AI and Deep Learning
 
Why Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brainWhy Neurons have thousands of synapses? A model of sequence memory in the brain
Why Neurons have thousands of synapses? A model of sequence memory in the brain
 
Multi Sensor Data Fusion In Target Tracking
Multi Sensor Data Fusion In Target TrackingMulti Sensor Data Fusion In Target Tracking
Multi Sensor Data Fusion In Target Tracking
 
V34132136
V34132136V34132136
V34132136
 
ESM Machine learning 5주차 Review by Mario Cho
ESM Machine learning 5주차 Review by Mario ChoESM Machine learning 5주차 Review by Mario Cho
ESM Machine learning 5주차 Review by Mario Cho
 
50120140504022
5012014050402250120140504022
50120140504022
 
An efficient fuzzy classifier with feature selection based
An efficient fuzzy classifier with feature selection basedAn efficient fuzzy classifier with feature selection based
An efficient fuzzy classifier with feature selection based
 
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data
A Binary Bat Inspired Algorithm for the Classification of Breast Cancer Data
 
Lecture 4 neural networks
Lecture 4 neural networksLecture 4 neural networks
Lecture 4 neural networks
 
ga-2.ppt
ga-2.pptga-2.ppt
ga-2.ppt
 
An analysis of_machine_and_human_analytics_in_classification
An analysis of_machine_and_human_analytics_in_classificationAn analysis of_machine_and_human_analytics_in_classification
An analysis of_machine_and_human_analytics_in_classification
 
Artificial intelligent Lec 1-ai-introduction-
Artificial intelligent Lec 1-ai-introduction-Artificial intelligent Lec 1-ai-introduction-
Artificial intelligent Lec 1-ai-introduction-
 
Neural Networks and Deep Learning for Physicists
Neural Networks and Deep Learning for PhysicistsNeural Networks and Deep Learning for Physicists
Neural Networks and Deep Learning for Physicists
 
Principles of Hierarchical Temporal Memory - Foundations of Machine Intelligence
Principles of Hierarchical Temporal Memory - Foundations of Machine IntelligencePrinciples of Hierarchical Temporal Memory - Foundations of Machine Intelligence
Principles of Hierarchical Temporal Memory - Foundations of Machine Intelligence
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 

Artificial Intelligence for Robotic AIFR

  • 1. Artificial Intelligence for Robotics Unit 1: Introduction to AI Techniques Dr. Padmakar J. Pawar Professor and Head Department of Robotics and Automation K. K. Wagh Institute of Engineering Education and Research, Nasik Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 1
  • 2. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 2 Outline: 1. Search algorithms 2. Heuristics and Metaheuristics 3. Handling uncertainties : Fuzzy logic 4. Probabilistic methods for uncertain reasoning 5. Learning methods: Statistical 6. Learning methods : Soft computing - Neural networks
  • 3. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 3 Uninformed search algorithms:
  • 4. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 4 • Systematic exploration – uninformed search algorithms explore the search space systematically, either by expanding all children of a node (e.g. BFS) or by exploring as deep as possible in a single path before backtracking (e.g. DFS). • No heuristics – uninformed search algorithms do not use additional information, such as heuristics or cost estimates, to guide the search process. • Blind search – uninformed search algorithms do not consider the cost of reaching the goal or the likelihood of finding a solution, leading to a blind search process. • Simple to implement – uninformed search algorithms are often simple to implement and understand, making them a good starting point for more complex algorithms. • Inefficient in complex problems – uninformed search algorithms can be inefficient in complex problems with large search spaces, leading to an exponential increase in the number of states explored. • Example: Breadth first search (BFS), Depth search first (DFS), branch and bound etc. Uninformed search algorithms:
  • 5. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 5
  • 6. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 6 • Use of Heuristics – informed search algorithms use heuristics, or additional information, to guide the search process and prioritize which nodes to expand. • More efficient – informed search algorithms are designed to be more efficient than uninformed search algorithms, such as breadth-first search or depth-first search, by avoiding the exploration of unlikely paths and focusing on more promising ones. • Goal-directed – informed search algorithms are goal-directed, meaning that they are designed to find a solution to a specific problem. • Cost-based – informed search algorithms often use cost-based estimates to evaluate nodes, such as the estimated cost to reach the goal or the cost of a particular path. • Prioritization – informed search algorithms prioritize which nodes to expand based on the additional information available, often leading to more efficient problem-solving. • Optimality – informed search algorithms may guarantee an optimal solution if the heuristics used are admissible (never overestimating the actual cost) and consistent (the estimated cost is a lower bound on the actual cost). • Example: A*, Hill climbing, Best first search Informed search algorithms:
  • 7. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 7 Best First Search (Greedy algorithm) 0 1 3 2 8 9 Applications: • Path finding- Navigation system in robotics • Machine learning To find most promising path • Optimization: To determine best state of process
  • 8. 3/17/2024 8 Heuristics and Meta-heuristics Optimizatin Techniques Traditional Techniques (Mathematical Optimization) Non-Traditional Techniques Non linear programming Integer programming Geometric programming Quadratic programming Evolutionary Computations Non-gradient probabilistic 1.Simulated annealing 2.Tabu search Genetic algorithm Particle swarm optimization Ant colony optimization Artificial bee colony algorithm Evolve in genetics Evolve in social behavior Memetic algorithm Linear programming Method of feasible direction
  • 9. 3/17/2024 9 Need of meta-heuristics •Traditional techniques do not fare well over a broad spectrum of problem domains. •Traditional techniques are not suitable for solving multi-modal problems as they tend to obtain a local optimal solution. •Traditional techniques are not ideal for solving multi-objective optimization problems and problems involving large number of constraints.
  • 10. 17 March 2024 Production Engineering Department 10
  • 11. Optimization of USM process     ) / ( 1 963 . 4 3 25 . 0 75 . 0 75 . 0 75 . 0 75 . 0 25 . 0 1 s mm f d C A F K A Z v m av v s fw usm t     Objective function: Maximize MRR:   0 . 0 ) ( ) 1 ( 7 . 1154 0 . 1 5 . 0 m ax 5 . 0          av m v s a fw t C d A F R A   11 At = 20 mm2, σfw =6900 MPa, Kusm = 0.1mm-1, (Ra)max = 0.8 m,  = 0.246. Constraint: 3/17/2024
  • 12. Variables and their bounds: •Amplitude of vibration: 0.005  Av  0.1 (mm) •Frequency of vibration: 10000 fv  40000 (Hz) •Mean diameter of abrasive grain : 0.007  dm  0.15 (mm) • Volumetric concentration of abrasive particles in slurry: 0.05  Cav  0.5 static feed force: 4.5  Fs  45 (N) 3/17/2024 12
  • 13. 3/17/2024 13 Genetic Algorithm Genetic algorithm is the first evolutionary optimization technique introduced by Holand J. (1975), which is based on Darwinian principle of the ‘survival of fittest’ and the natural process of evolution through reproduction. • How Genetic Algorithm differs from traditional optimization techniques? 1. GA work with a coding of the parameter set, not the parameters themselves. 2. GA search from a population of points and not a single point. 3. GA use information of fitness function and not derivatives or other auxiliary knowledge
  • 14. 3/17/2024 14 4. GA use probabilistic transitions rules and not deterministic rules. 5. It is very likely that the expected GA solution will be global solution. Genetic Algorithm
  • 15. 3/17/2024 15 Genetic Algorithm: Basic Steps Coding Random generator Reproduction Crossover Mutation Save offspring
  • 16. 3/17/2024 16 Objective function: S.N Substring (X1) Substring (X2) X1 X2 Y Coded Value Decoded Value Coded Value Decoded Value 1 1001 9 0010 2 1.8 0.4 12.04 2 0101 5 0001 1 1 0.2 10.4 3 0010 2 1110 14 0.4 2.8 1.76 4 0100 4 1100 12 0.8 2.4 3.44 5 1100 12 1001 9 2.4 1.8 10.36 Genetic Algorithm: Coding
  • 17. 3/17/2024 17 S.N X1 X2 Y F A B Cum. B Rand. No String X1 String X2 Y’ 1 1.8 0.4 12.04 0.083 0.365 0.073 0.0731 0.440 0010 1110 1.76 2 1 0.2 10.4 0.096 0.423 0.084 0.157 0.220 0010 1110 1.76 3 0.4 2.8 1.76 0.568 2.503 0.500 0.658 0.707 0100 1100 3.44 4 0.8 2.4 3.44 0.290 1.280 0.256 0.914 0.614 0010 1110 1.76 5 2.4 1.8 10.36 0.096 0.425 0.085 1.000 0.669 0100 1100 3.44 Genetic Algorithm : Reproduction
  • 19. 3/17/2024 19 S.N. Reproduction Crossover Mutation Solution (after first generation) X1 X2 Site X1 X2 X1 X2 X1 X2 Y 1 0010 1110 0010 1110 0000 0110 0 1.2 6.4 2 0010 1110 0010 1110 0010 1111 0.4 3.0 1.16 3 0100 1100 2 0110 1110 0110 0110 1.2 1.2 7.84 4 0010 1110 2 0000 1100 0001 1100 0.2 2.4 2.84 5 0010 1110 0010 1110 0010 1111 0.4 3.0 1.16 Genetic Algorithm : Crossover and Mutation
  • 20. Fuzzy Control : Limitations of traditional control modes • While applying traditional control, one needs to know about the model and the objective function formulated in precise terms. This makes it very difficult to apply in many cases. This makes the P, PI, PID controller costlier. • The drawbacks associated every control action puts limitations on their capability to cover a huge range of operating conditions. • Customization is relatively difficult Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 20
  • 21. R P Q   2 x Q  P =h R h x   2 dt dh A R h x . 1   dt dh AR h Rx   1 A h x1 x2 Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik Transfer function of a process (P(s)) 21
  • 22. dt dh AR h Rx   1 1 . Rx h R A dt dh   ) ( ) ( ) ( . 1 s Rx s h s Rsh A   ) ( ) ( ) 1 . ( 1 s Rx s h Rs A   ) 1 . ( ) ( ) ( 1   Rs A R s x s h A h x1 x2 Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 22
  • 23. What is Fuzzy Logic?  Fuzzy Logic (FL) is a method of reasoning that resembles human reasoning.  The approach of fuzzy logic imitates the way of decision making in humans that involves all intermediate possibilities between digital values YES and NO.  The conventional logic block that a computer can understand takes precise input and produces a definite output as TRUE or FALSE, which is equivalent to human’s YES or NO.  The inventor of fuzzy logic, Zadeh (1965), observed that unlike computers, the human decision making includes a range of possibilities between YES and NO, such as CERTAINLY YES, POSSIBLY YES, CANNOT SAY, POSSIBLY NO, CERTAILY NO etc.  Fuzzy logic is thus a tool which converts imprecise information (usually a human character) to a precise information or crisp value (usually a machine characteristic). Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 23
  • 24. Components of Fuzzy Logic: Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 24
  • 25. What is membership? A fuzzy set is distinct from a crisp set in that it allows its elements to have a degree of membership. The core of a fuzzy set is its membership function: a surface or line that defines the relationship between a value in the set’s domain and its degree of membership. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 25
  • 26. Types of membership functions: a) Triangular membership function:                           c x c x b b c x c b x a a b a x a x c b a X , 0 ), /( ) ( ), /( ) ( , 0 ) , , , ( Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 26
  • 29. X1 X2 A h Continuous process control using Fuzzy Logic  Flow rate X1 is to be controlled to maintain constant fluid level h  X1 depend on (i) Deviation of fluid level (DFL) from maximum fluid level L and (ii) Difference in flow rates (X) = X1 - X2  Membership function for DFL [Low, Moderate, High]  Membership function for X [Negative, Average, Positive]  Membership function for response X1 : [Open more, Open Less, Average, Close less, Close More]. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 29
  • 30. Low (10) Moderate (50) High (80) 10 30 40 60 70 80  The triangular membership function () for DFL Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 30
  • 31. -6 -4 -2 2 4 6 Highly Negative (-6 lpm) Low (0 lpm) Highly Positive(6 lpm)  The triangular membership function () for X Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 31
  • 32. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 32
  • 33.  If DFL is LOW and X is HIGHLY NEGATIVE then CLOSE VERY LITTLE  If DFL is LOW and X is LOW then CLOSE LITTLE  If DFL is LOW and X is HIGHLY POSITIVE then CLOSE LARGE  If DFL is MODERATE and X is HIGHLY NEGATIVE then OPEN LITTLE  If DFL is MODERATE and X is LOW then CLOSE VERY LITTLE  If DFL is MODERATE and X is HIGHLY POSITIVE then CLOSE LARGE  If DFL is HIGH and X is HIGHLY NEGATIVE then OPEN LARGE  If DFL is HIGH and X is LOW then OPEN LITTLE  If DFL is HIGH and X is HIGHLY POSITIVE then CLOSE VERY LITTLE Fuzzy Rules Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 33
  • 34. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 34 Now at any given point of time, deviation in fluid level (DFL) is 64 and difference in flow rate ( X) is -3.6, what will be the controller output?
  • 35. The fuzzy set operations Union: AUB = Max (A, B) The Union operation in Fuzzy set theory is the equivalent of the OR operation in Boolean algebra. Intersection: AB = Min (A, B) The Intersection operation in Fuzzy set theory is the equivalent of the AND operation in Boolean algebra. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 35
  • 36. Complement: A A    1 The Complement operation in Fuzzy set theory is the equivalent of the NOT operation in Boolean algebra. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 36
  • 37. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 37
  • 38. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 38
  • 39. Center of Sums Method: De-fuzzification methods Center of gravity Method: Center of Area / Bisector of Area Method: Weighted Average Method: Maxima Method: Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 39
  • 40. OPEN LARGE: Hatch Area = 0.672 OPEN LITTLE: Hatch Area = 1.312 CLOSE VERY LITTLE: Hatch Area = 0.703 Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 40
  • 41. The crisp score of X1: 𝑋1 𝑣𝑎𝑙𝑢𝑒 = 0.703 × 0.5 + 1.312 × 4 + 0.672 × 10 0.703 + 1.312 + 0672 = 4.58 Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 41
  • 42. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 42 Bayesian Network Subject Well Studied Question paper is Easy Success in Exam Placement Higher studies T 0.6 F 0.4 T 0.4 F 0.6 SWS QPE P(SE=T) P(SE=F) T T 0.94 0.06 T F 0.90 0.10 F T 0.60 0.40 F F 0.20 0.80 SE P(P=T) P(P=F) T 0.75 0.25 F 0.02 0.98 SE P(HS=T) P(HS=F) T 0.91 0.09 F 0.05 0.95
  • 43. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 43 Calculate the probability that the student get both placement as well as admission to higher studies, get success in exam, but subject was not studied well and question paper was not easy.. P(P, HS, SE, ¬SWS, ¬QPE) = P (P|SE) *P (HS|SE)*P (SE|¬SWS ^ ¬QPE) *P (¬SWS) *P (¬QPE) = 0.75 × 0.91 × 0.20 × 0.4 × 0.6 = 0.032
  • 44. 44 Pollution (POL) Smoking (SM) Lung Cancer (LC) Constipation (C) Short breathing (SB) T 0.3 F 0.7 T 0.6 F 0.4 POL SM P(LC=T) P(LC=F) T T 0.85 0.15 T F 0.71 0.29 F T 0.75 0.25 F F 0.10 0.90 LC P(C=T) P(C=F) T 0.55 0.45 F 0.32 0.68 LC P(SB=T) P(SB=F) T 0.63 0.37 F 0.25 0.75
  • 45. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 45 Hidden Markov Model
  • 46. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 46 A hidden Markov model consists of five important components: • Initial probability distribution: • One or more hidden states • Transition probability distribution: • A sequence of observations • Emission probabilities:
  • 47. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 47
  • 48. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 48 Parameters Supervised machine learning Unsupervised machine learning Input Data Algorithms are trained using labelled data. Algorithms are used against data that is not labeled Computational Complexity Simpler method Computationally complex Accuracy Highly accurate Less accurate No. of classes No. of classes is known No. of classes is not known Data Analysis Uses offline analysis Uses real-time analysis of data Algorithms used Linear and Logistics regression, Random forest, Support Vector Machine, Neural Network, etc. K-Means clustering, Hierarchical clustering, A priori algorithm, etc. Output Desired output is given. Desired output is not given. Training data Use training data to infer model. No training data is used. Complex model It is not possible to learn larger and more complex models than with supervised learning. It is possible to learn larger and more complex models with unsupervised learning. Model We can test our model. We can not test our model. Called as Supervised learning is also called classification. Unsupervised learning is also called clustering. Example Example: Optical character recognition. Example: Find a face in an image.
  • 49. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 49 Supervised Learning: Regression
  • 50. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 50 Supervised Learning: Classification
  • 51. •An artificial neural network is a computational model based on the how brain solves certain kinds of problems. • The human brain can be described as a biological neural network—an interconnected web of neurons transmitting elaborate patterns of electrical signals. Dendrites receive input signals and, based on those inputs, fire an output signal via an axon. •The most common application of neural networks in computing today is to perform one of these “easy-for-a-human, difficult-for-a-machine” tasks, often referred to as pattern recognition. Neural network: Definition
  • 52.
  • 53. One of the key elements of a neural network is its ability to learn. A neural network is not just a complex system, but a complex adaptive system, meaning it can change its internal structure based on the information flowing through it. Typically, this is achieved through the adjusting of weights. In ANN diagram, each line represents a connection between two neurons and indicates the pathway for the flow of information. Each connection has a weight, a number that controls the signal between the two neurons. If the network generates a “good” output, there is no need to adjust the weights. However, if the network generates a “poor” output—an error, then the system adapts, altering the weights in order to improve subsequent results.
  • 56. The Backwards Pass Output Layer Consider w5. We want to know how much a change in w5 affects the total error.               2 1 1 1 5 1 5 ) arg ( 2 1 output et t E out E net out w net w E Total o Total o o o Total
  • 57. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 57 Supervised Learning: Neural Network
  • 58. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 58 Un-Supervised Learning: Clustering Classification Yellow / Blue Clustering
  • 59. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 59 Un-Supervised Learning: Principal Component Analysis
  • 60. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 60 [30-70] [2-9] [10-35] x1 x2 x3 1 36 8 26 2 67 9 32 3 34 3 35 4 69 4 23 5 34 2 27 6 49 8 25 7 53 6 11 8 66 9 18 9 62 5 23 10 54 3 20 Quanity of alloying element (gm) Type of alloy steel Unsupervised Learning: Clustering
  • 61. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 61 Unsupervised Learning: Clustering
  • 62. Artificial Intelligence for Robotics: Dr. P. J. Pawar, KKWIEER, Nashik 62