Notes Softcomputing
Notes Softcomputing
Definition A biological neuron is a nerve cell present in An artificial neuron is a mathematical model used
the human brain and nervous system that in Artificial Neural Networks (ANN) to process
processes and transmits information. data computationally.
Structure Consists of dendrites, cell body (soma), axon, Consists of inputs, weights, summation function,
and synapses. activation function, and output.
Working Principle Receives signals through dendrites, processes Receives input values, multiplies them by weights,
them in the soma, and sends output through applies an activation function, and produces
the axon. output.
Signal Type Uses electrochemical signals. Uses numerical and mathematical signals.
Processing Speed Comparatively slow, measured in milliseconds. Very fast due to electronic computation.
Learning Method Learns through experience and changes in Learns using training algorithms and weight
synaptic strength. adjustments.
Memory Storage Memory is distributed in neural connections Memory is stored in weights and parameters.
of the brain.
Energy Consumption Very energy efficient. Requires more electrical power and computational
resources.
1/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Logic Used Uses fuzzy logic and Uses binary logic (true/false).
probabilistic reasoning.
Learning Ability Can learn and adapt from Cannot learn automatically.
experience.
Error Tolerance High tolerance to errors and Very low tolerance to errors.
noise.
Processing Method Works with incomplete and Requires complete and accurate
ambiguous data. data.
Computational Cost Generally lower for complex Can become expensive for highly
real-world problems. complex problems.
1. Supervised Learning
In supervised learning, the network is trained using input data along with the correct
target output. The system compares the actual output with the desired output and adjusts
the weights to minimize the error.
Working
1. Input data is given to the network.
2. Network produces output.
3. Output is compared with target output.
4. Error is calculated.
5. Weights are updated using learning algorithms such as Backpropagation.
2/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Diagram
Features
Requires labeled data.
Produces highly accurate results.
Commonly used in classification and prediction tasks.
Applications
Image recognition
Speech recognition
Medical diagnosis
Email spam filtering
Example Algorithms
Perceptron Learning
Backpropagation Network
2. Unsupervised Learning
In unsupervised learning, the network learns without target outputs. The ANN identifies
hidden patterns, similarities, or groups in the input data automatically.
Working
1. Input data is provided.
2. Network analyzes similarities and differences.
3. Data is grouped into clusters or patterns.
Diagram
Features
Does not require labeled data.
Useful for discovering hidden structures.
Performs self-organization.
Applications
Data clustering
Market segmentation
Recommendation systems
Pattern recognition
Example Algorithms
Kohonen Self-Organizing Map (SOM)
Adaptive Resonance Theory (ART)
3/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
3. Reinforcement Learning
In reinforcement learning, the network learns through interaction with the environment.
The system receives rewards or penalties based on actions and improves its performance
over time.
Working
1. ANN performs an action.
2. Environment gives feedback in the form of reward or penalty.
3. Network adjusts weights to maximize rewards.
Diagram
Reward / Penalty
^
|
Environment <--- Agent (ANN)
|
v
Action
Features
Learning through trial and error.
No labeled data required.
Focuses on maximizing long-term reward.
Applications
Robotics
Game playing AI
Self-driving cars
Industrial automation
Example Algorithms
Q-Learning
Deep Q Network (DQN)
4/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
are only 0 or 1 (true or false), fuzzy logic allows partial truth values between 0 and 1.
Example
Temperature = 35°C
Converted into fuzzy values such as:
Warm = 0.7
Hot = 0.8
2. Knowledge Base
Contains:
Fuzzy rules
Membership functions
Example Rule
IF temperature is hot THEN fan speed is high.
3. Inference Engine
Applies fuzzy rules and performs reasoning to determine fuzzy outputs.
4. Defuzzification
Converts fuzzy output back into a crisp numerical value.
Example
Fan speed = 80 RPM
Crisp Input
|
v
Fuzzification
|
v
Inference Engine <--> Knowledge Base
|
v
Defuzzification
|
v
Crisp Output
5/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Let:
Formula
μA∪B (x) = max[μA (x), μB (x)]
Example
If:
μA(x) = 0.6
μB(x) = 0.8
Then:
Diagram
A = 0.6
B = 0.8
Formula
μA∩B (x) = min[μA (x), μB (x)]
Example
If:
μA(x) = 0.6
μB(x) = 0.8
Then:
Diagram
A = 0.6
B = 0.8
6/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Formula
μAˉ (x) = 1 − μA (x)
Example
If:
μA(x) = 0.7
Then:
Diagram
A = 0.7
Complement = 1 - 0.7
= 0.3
4. Difference Operation
Represents elements belonging to set A but not to set B.
Formula
μA−B (x) = min[μA (x), 1 − μB (x)]
Example
If:
μA(x) = 0.9
μB(x) = 0.4
Then:
7/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
science mein apply karke Artificial Neural Network banaya gaya hai. ANN ka main purpose
machines ko aise train karna hota hai taaki woh data se learn kar sake, patterns identify kar
sake, aur intelligent decisions le sake bina explicitly har rule ko program kiye.
ANN multiple interconnected nodes ya neurons se milkar bana hota hai. Har neuron input
receive karta hai, usko process karta hai aur output generate karta hai. Ye neurons layers
mein arranged hote hain. Generally ANN mein teen types ki layers hoti hain:
1. Input Layer
2. Hidden Layer
3. Output Layer
Input layer external data receive karti hai. Hidden layer actual processing aur computation
karti hai. Output layer final result provide karti hai. Jab input ANN ko diya jata hai, tab har
neuron input values ko weights ke saath multiply karta hai aur activation function apply
karta hai. Iske baad output next layer ko forward hota hai. Is process ko forward
propagation kaha jata hai.
ANN learning process ke through kaam karta hai. Jab network galat output deta hai to
error calculate kiya jata hai aur weights ko adjust kiya jata hai. Is process ko training kaha
jata hai. Sabse famous training algorithm Backpropagation hai. ANN repeatedly data par
train hota hai jab tak accurate output na mil jaye.
Artificial Neural Networks ka use aaj bahut saare intelligent systems mein ho raha hai.
Image recognition mein ANN faces aur objects identify karta hai. Speech recognition
systems jaise Google Assistant aur Siri ANN ka use karte hain. Medical field mein diseases
detect karne ke liye ANN use hota hai. Stock market prediction, weather forecasting,
robotics, self-driving cars, recommendation systems, handwriting recognition aur
cybersecurity mein bhi ANN important role play karta hai.
ANN ki sabse badi strength ye hai ki ye complex aur non-linear problems ko solve kar
sakta hai. Ye noisy aur incomplete data ke saath bhi kaam kar sakta hai aur continuously
learning capability rakhta hai. Isi wajah se ANN Artificial Intelligence aur Machine Learning
ka core technology maana jata hai.
Soft Computing ka main aim human-like decision making aur intelligent behavior develop
karna hota hai. Ye exact solutions ki jagah near accurate aur practical solutions provide
karta hai. Soft Computing multiple techniques ka combination hota hai jaise:
1. Fuzzy Logic
2. Artificial Neural Network (ANN)
3. Genetic Algorithm
4. Probabilistic Reasoning
Fuzzy Logic uncertainty aur imprecise data ko handle karta hai. Artificial Neural Network
learning aur pattern recognition provide karta hai. Genetic Algorithm optimization
problems solve karta hai by using natural evolution concepts. Probabilistic reasoning
uncertain events ka prediction karta hai.
8/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Soft Computing ka sabse important feature flexibility hai. Ye rigid rules follow nahi karta
balki adaptive aur intelligent behavior show karta hai. Human brain bhi exact calculations
nahi karta, phir bhi intelligent decisions leta hai. Soft Computing isi human reasoning ko
mimic karta hai.
Soft Computing ke bahut saare characteristics hote hain. Ye uncertainty ko tolerate karta
hai aur incomplete data ke saath bhi kaam kar sakta hai. Isme learning capability hoti hai
jisse systems experience se improve hote rehte hain. Ye fault tolerant hota hai matlab agar
kuch data incorrect ho tab bhi system kaam karta rehta hai. Soft Computing parallel
processing support karta hai aur highly complex problems ko efficiently solve karta hai.
Iska computational cost bhi many real-world applications mein comparatively kam hota
hai.
Soft Computing ki applications bahut wide hain. Consumer electronics mein washing
machines aur air conditioners fuzzy logic ka use karke automatic control provide karte
hain. Medical diagnosis systems diseases detect karne ke liye Neural Networks use karte
hain. Robotics mein intelligent movement aur decision making ke liye Soft Computing use
hota hai. Self-driving cars road conditions aur traffic ko analyze karne ke liye Soft
Computing algorithms use karti hain. Financial sector mein stock market prediction aur
fraud detection mein iska use hota hai. Image processing aur speech recognition systems
bhi Soft Computing techniques par depend karte hain. Industrial automation, weather
forecasting, cybersecurity, agriculture monitoring aur smart home systems mein bhi Soft
Computing ka important role hai.
Soft Computing traditional hard computing se alag hai kyunki ye exact answers ke bajay
intelligent approximate solutions provide karta hai. Isi wajah se aaj ke Artificial Intelligence
based systems mein Soft Computing ka importance continuously badh raha hai.
AND gate implementation mein output tabhi 1 hota hai jab dono inputs 1 ho. Baaki sab
cases mein output 0 hota hai.
0 0 0
0 1 0
1 0 0
1 1 1
9/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
X1 ----(w1=1)----\
>---- Summation ----> Threshold ----> Y
X2 ----(w2=1)----/
Where:
Inputs = X1, X2
Weights = w1 = 1, w2 = 1
Threshold (θ) = 2
Mathematical Representation
The net input is calculated as:
Yin = X1 w1 + X2 w2
Substituting weights:
Decision Rule:
Y ={
1, if Yin ≥ 2
0, if Yin < 2
Step-by-Step Calculation
Case 1: X1 = 0, X2 = 0
Yin = (0)(1) + (0)(1) = 0
Since 0 < 2
Output:
Y =0
Case 2: X1 = 0, X2 = 1
Yin = (0)(1) + (1)(1) = 1
Since 1 < 2
Output:
Y =0
Case 3: X1 = 1, X2 = 0
Yin = (1)(1) + (0)(1) = 1
Since 1 < 2
Output:
Y =0
Case 4: X1 = 1, X2 = 1
10/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Since 2 ≥ 2
Output:
Y =1
Output Y
0 0 0 0
0 1 1 0
1 0 1 0
1 1 2 1
McCulloch-Pitts neuron directly XOR function implement nahi kar sakta using single layer
because XOR linearly separable problem nahi hai. Isliye XOR implementation ke liye
multiple neurons aur hidden layer ki requirement hoti hai.
0 0 0
0 1 1
1 0 1
1 1 0
11/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Yaani:
1. First neuron performs OR operation.
2. Second neuron performs NAND operation.
3. Final neuron performs AND operation on outputs of previous neurons.
X1 -----------\
\
>---- OR Neuron ----\
/ \
X2 -----------/ \
>---- AND Neuron ----> Y
X1 -----------\ /
\ /
>--- NAND Neuron --/
/
X2 -----------/
Step 1: OR Neuron
Weights:
w1 = 1
w2 = 1
Threshold:
θ=1
Output:
Z1 = X1 + X2
Decision:
If net input ≥ 1 → Output = 1
Else Output = 0
w2 = −1
Threshold:
θ = −1
Output:
Z2 = −(X1 + X2)
Decision:
If net input ≥ -1 → Output = 1
Else Output = 0
12/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Z2
Weights:
w1 = 1
w2 = 1
Threshold:
θ=2
Final Output:
Y = Z1 AN D Z2
Step-by-Step Calculation
Case 1: X1 = 0, X2 = 0
OR Output:
Z1 = 0
NAND Output:
Z2 = 1
Final AND:
Y =0
Case 2: X1 = 0, X2 = 1
OR Output:
Z1 = 1
NAND Output:
Z2 = 1
Final AND:
Y =1
Case 3: X1 = 1, X2 = 0
OR Output:
Z1 = 1
NAND Output:
Z2 = 1
Final AND:
Y =1
13/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Case 4: X1 = 1, X2 = 1
OR Output:
Z1 = 1
NAND Output:
Z2 = 0
Final AND:
Y =0
Final Output Y
0 0 0 1 0
0 1 1 1 1
1 0 1 1 1
1 1 1 0 0
Important Points
XOR is a non-linearly separable problem.
Single McCulloch-Pitts neuron cannot solve XOR directly.
Multiple neurons and hidden layers are required.
XOR implementation shows the importance of multilayer neural networks.
This concept became the foundation for modern deep learning architectures.
ANN mein mainly teen types ke learning mechanisms use hote hain:
1. Supervised Learning
2. Unsupervised Learning
3. Reinforcement Learning
1. Supervised Learning
Supervised learning mein neural network ko training data ke saath correct output bhi diya
jata hai. Is method mein ek teacher present hota hai jo network ko batata hai ki expected
14/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
output kya hona chahiye. Network apne predicted output ko actual target output ke saath
compare karta hai aur error calculate karta hai. Error ke basis par weights update kiye jate
hain.
Ye process repeatedly continue hota hai jab tak minimum error achieve na ho jaye.
Characteristics
Labeled data required hota hai.
High accuracy provide karta hai.
Training time zyada ho sakta hai.
Classification aur prediction problems mein useful hai.
Applications
Face recognition
Spam email detection
Medical diagnosis
Speech recognition
Weather forecasting
Example Algorithms
Perceptron Learning
Backpropagation Algorithm
2. Unsupervised Learning
Unsupervised learning mein network ko sirf input data diya jata hai, correct output nahi
diya jata. Network khud data mein hidden patterns, similarities aur relationships find karta
hai. Is learning method mein koi teacher available nahi hota.
Neural network similar data ko groups ya clusters mein organize karta hai.
15/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Characteristics
Unlabeled data use hota hai.
Self-organizing capability hoti hai.
Hidden patterns discover karta hai.
Human intervention kam required hota hai.
Applications
Market segmentation
Customer analysis
Recommendation systems
Data mining
Pattern recognition
Example Algorithms
Kohonen Self Organizing Map (SOM)
Adaptive Resonance Theory (ART)
3. Reinforcement Learning
Reinforcement learning mein neural network environment ke saath interact karke learn
karta hai. Network ko directly correct answer nahi diya jata. Instead, system ko reward ya
penalty milti hai depending on action performed.
Agar action correct hota hai to reward milta hai aur agar wrong hota hai to penalty milti
hai. System continuously trial and error ke through best action seekhta hai.
Reward / Penalty
^
|
16/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Characteristics
Trial and error based learning.
Continuous learning possible hota hai.
Long-term reward maximize karta hai.
Dynamic environments ke liye useful hai.
Applications
Robotics
Self-driving cars
Game AI
Industrial automation
Smart control systems
Example Algorithms
Q-Learning
Deep Q Network (DQN)
17/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
1943 mein Warren McCulloch aur Walter Pitts ne pehla mathematical neuron model
introduce kiya jise McCulloch-Pitts Neuron kaha gaya. Ye binary inputs aur threshold logic
par based tha. Is neuron model ne basic logical operations jaise AND, OR aur NOT
implement kiye.
Iska matlab agar do neurons repeatedly ek saath active hote hain to unke connections
strong ho jate hain. Hebbian learning ne neural network training ke concepts ko
strengthen kiya aur future learning algorithms ka base banaya.
Perceptron image recognition aur pattern classification ke liye use hua. Is time ANN
research mein kaafi excitement thi aur researchers ko laga ki intelligent machines jaldi ban
jayengi.
Iske baad ANN research ka interest kaafi kam ho gaya aur funding bhi reduce ho gayi. Is
period ko “AI Winter” bhi kaha jata hai.
Backpropagation error ko backward propagate karta hai aur weights ko optimize karta hai.
Is discovery ne multilayer neural networks ko train karna possible banaya aur ANN
complex problems solve karne laga.
18/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
CNN image processing aur computer vision ke liye useful bane. RNN sequential data aur
speech processing mein use hua.
Deep Learning multilayer neural networks ka advanced form hai jisme multiple hidden
layers hoti hain. Deep learning systems automatically features learn kar sakte hain without
manual programming.
Major breakthroughs:
Image recognition
Natural Language Processing
Speech recognition
Applications:
ChatGPT
Self-driving cars
Medical diagnosis
Recommendation systems
Robotics
Cybersecurity
Smart assistants
Deep learning models human-level performance achieve kar rahe hain many tasks mein.
19/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Year Development
1980s Backpropagation
Algorithm
Unit - 2
1. Robotics Control
Neural networks robots ko intelligent movement aur decision-making capability provide
karte hain. Robots sensors se data receive karte hain aur ANN us data ko process karke
accurate actions perform karta hai. ANN robotic arms ki motion control, obstacle
avoidance aur path planning mein use hota hai.
Example
Industrial robotic arms
Humanoid robots
Autonomous robots
Example
Chemical industries
Steel plants
Power plants
20/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Oil refineries
Example
Aircraft control systems
Smart manufacturing systems
Dynamic machine control
Example
Smart traffic lights
Intelligent transportation systems
Vehicle flow prediction
Example
Self-driving cars
Automatic braking systems
Cruise control systems
Example
Smart grids
Power distribution systems
Energy management systems
Example
Artificial ventilators
Smart monitoring systems
Automated drug delivery systems
21/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Features
Simple neuron model
Binary data processing
Logic gate implementation
Applications
Basic logical operations
Foundation of ANN
2. Perceptron Model
Perceptron Frank Rosenblatt ne develop kiya tha. Ye single-layer neural network hota hai jo
supervised learning use karta hai. Ye linearly separable problems solve kar sakta hai.
Features
Weight adjustment capability
Learning through training
Classification tasks
Applications
Pattern recognition
Binary classification
22/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Features
Multiple hidden layers
Nonlinear problem solving
High accuracy
Applications
Image recognition
Medical diagnosis
Prediction systems
Features
Simple architecture
Fast processing
No cyclic connection
Applications
Classification
Function approximation
Features
Memory capability
Sequential data handling
Time-series processing
Applications
Speech recognition
Language translation
Text prediction
Features
Automatic feature extraction
Image pattern recognition
High performance in vision tasks
Applications
Face recognition
Object detection
Medical image analysis
23/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Features
Fast learning
Good approximation capability
Simple training
Applications
Function approximation
Signal processing
Features
Self-organizing capability
Dimensionality reduction
Pattern discovery
Applications
Data clustering
Market analysis
9. Hopfield Network
Hopfield network recurrent neural network ka type hai jo associative memory ki tarah work
karta hai.
Features
Feedback connections
Memory storage
Optimization capability
Applications
Pattern completion
Optimization problems
Features
Probabilistic processing
Hidden neuron support
Deep learning foundation
Applications
Feature learning
Optimization tasks
24/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Given Data
Inputs:
Weights:
Bias:
b = 0.9
yin = x1 w1 + x2 w2 + b
Substituting values:
yin = 1.28
25/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
1
f (x) = 1+e−x
Substitute:
1
f (1.28) =
1 + e−1.28
e−1.28 ≈ 0.278
1
f (1.28) =
1 + 0.278
1
f (1.28) =
1.278
f (1.28) ≈ 0.782
0.782
1−e−x
f (x) = 1+e−x
Substitute:
1 − e−1.28
f (1.28) =
1 + e−1.28
1 − 0.278
f (1.28) =
1 + 0.278
0.722
f (1.28) =
1.278
f (1.28) ≈ 0.565
0.565
Final Answers
Activation Function Output
26/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Learning process mein neural network input receive karta hai, output generate karta hai
aur phir actual output ko expected output ke saath compare karta hai. Agar error hota hai
to network apne internal parameters jaise weights aur biases ko modify karta hai. Ye
process continuously repeat hota hai jab tak desired accuracy achieve na ho jaye.
Training Data
Weights
Activation Function
Error Calculation
Weight Adjustment Algorithm
Neural networks different learning methods use karte hain jaise supervised learning,
unsupervised learning aur reinforcement learning.
Training Data Labeled data use hota hai. Unlabeled data use hota hai.
27/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Supervised Learning
Supervised learning mein ANN ko labeled dataset diya jata hai jahan har input ke
corresponding correct output available hota hai. Neural network predicted output ko
target output ke saath compare karta hai aur error calculate karta hai. Is error ke basis par
weights update hote hain.
Diagram
Applications
Face recognition
Medical diagnosis
Speech recognition
Email spam filtering
Unsupervised Learning
Unsupervised learning mein ANN ko sirf input data diya jata hai. Network khud similarities
aur hidden structures identify karta hai aur data ko clusters mein organize karta hai.
Diagram
Applications
Customer segmentation
Recommendation systems
Pattern recognition
Data mining
28/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
dimensional map mein represent karna aur similar data patterns ko clusters mein organize
karna hota hai.
Kohonen network human brain ke self-organizing behavior se inspired hai. Isme network
bina teacher ke data mein hidden patterns aur relationships discover karta hai. Ye
competitive learning mechanism use karta hai jahan neurons input data ke liye compete
karte hain aur jo neuron sabse closest hota hai woh winner neuron ban jata hai.
Kohonen neural network mainly pattern recognition, clustering, feature mapping aur data
visualization ke liye use hota hai.
Winning neuron aur uske neighboring neurons ke weights update kiye jate hain taaki
future mein similar patterns ko better identify kiya ja sake. Repeated training ke baad
similar input patterns same region mein map ho jate hain.
Kohonen network topology-preserving mapping perform karta hai. Iska matlab similar
data points output map mein nearby positions par store hote hain.
Ye dimensionality reduction bhi perform karta hai jahan large complex data ko simpler
representation mein convert kiya jata hai.
Input layer external data receive karti hai. Har input neuron output layer ke sabhi neurons
se connected hota hai. Output neurons usually 1D ya 2D grid structure mein arranged
hote hain.
Output layer mein neurons competition perform karte hain aur only one neuron winner
banta hai.
Architecture Diagram
Input Layer
X1 X2 X3
\ | /
\ | /
\ | /
---------------------
| O1 O2 O3 |
| O4 O5 O6 | ---> Output Competitive Layer
| O7 O8 O9 |
---------------------
Where:
X1, X2, X3 = Input neurons
29/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
O1 to O9 = Output neurons
X = [x1 , x2 , x3 , ..., xn ]
Formula:
Where:
xi = Input value
wij = Weight
Winner = min(Dj )
Where:
30/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
α = Learning rate
xi = Input value
2. Data Clustering
Similar data ko groups mein divide karta hai.
3. Image Processing
Image segmentation aur compression mein use hota hai.
4. Speech Recognition
Voice patterns analyze karne ke liye use hota hai.
5. Medical Diagnosis
Patient data analysis aur disease classification mein useful hai.
6. Market Analysis
Customer segmentation aur business intelligence mein use hota hai.
Given Data
Initial weights:
w1 = 0,
w2 = 0
Learning rate:
α=1
Training samples:
31/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
X1 X2 Target Y
1 1 1
1 -1 -1
-1 1 -1
-1 -1 -1
Where:
t = target output
xi = input
α = learning rate
Activation function:
Yin = w1 x1 + w2 x2
Decision:
If Yin > 0, output = 1
Else output = -1
Iteration 1
Pattern 1
Input:
(1, 1)
Target:
t=1
Net input:
Output:
y = −1
y=
t
Update weights:
w1 = 0 + (1)(1)(1) = 1
w2 = 0 + (1)(1)(1) = 1
New weights:
w1 = 1,
w2 = 1
32/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Pattern 2
Input:
(1, −1)
Target:
t = −1
Net input:
Output:
y = −1
Correct classification.
Weights unchanged.
w1 = 1,
w2 = 1
Pattern 3
Input:
(−1, 1)
Target:
t = −1
Net input:
Output:
y = −1
Correct classification.
Weights unchanged.
Pattern 4
Input:
(−1, −1)
Target:
t = −1
Net input:
Output:
y = −1
Correct classification.
33/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Weights unchanged.
Final Weights
w1 = 1,
w2 = 1
Verification Table
X1 X2 Net Input Output Target
1 1 2 1 1
1 -1 0 -1 -1
-1 1 0 -1 -1
-1 -1 -2 -1 -1
Final Answer
The weights required for the perceptron network are:
w1 = 1,
w2 = 1
ART network pattern recognition, clustering aur classification ke liye use hota hai. Ye neural
network continuously naye data ko learn karta hai bina pehle se learned patterns ko forget
kiye. Is problem ko Stability-Plasticity dilemma kaha jata hai.
Agar input aur stored pattern ke beech sufficient similarity hoti hai, to resonance occur
hota hai aur input usi category mein classify ho jata hai.
Agar similarity sufficient nahi hoti, to network ek new category create karta hai aur naye
pattern ko learn karta hai.
34/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
ART network adaptive learning use karta hai jisme network dynamically apne weights ko
update karta hai.
2. Plasticity
Network naye input patterns ko learn kar sakta hai.
3. Resonance
Input pattern aur stored category ke beech matching hone par resonance state generate
hoti hai.
4. Vigilance Parameter
Vigilance parameter similarity threshold decide karta hai.
High vigilance → More categories create hongi
Low vigilance → Fewer categories create hongi
0≤ρ≤1
Additional components:
Gain control units
Reset mechanism
Vigilance test
Architecture Diagram
Input Pattern
|
v
-----------------
| F1 Layer | ---> Comparison Layer
-----------------
|
v
-----------------
| F2 Layer | ---> Recognition Layer
-----------------
35/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
|
Resonance Test
|
-------------------
| Match Accepted? |
-------------------
| |
Yes No
| |
Learn Category Reset &
Search New Category
X = [x1 , x2 , x3 , ..., xn ]
Matching function:
∣X∩W ∣
∣X∣
≥ρ
Where:
X = Input vector
W = Weight vector
ρ = Vigilance parameter
If condition satisfied:
Resonance occurs
Weights update hote hain
Pattern same category mein store hota hai
If condition fails:
Reset signal generate hota hai
36/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Step 2
Apply input vector.
Step 3
Calculate matching score for all neurons.
Step 4
Select winning neuron.
Step 5
Perform vigilance test.
Step 6
If resonance occurs:
Update weights
Otherwise:
Reset neuron
Search next neuron
Step 7
Repeat process for all inputs.
Where:
β = Learning rate
W = Weight vector
37/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Clustering
Similar data ko categories mein organize karta hai.
3. Medical Diagnosis
Disease pattern classification mein useful hai.
4. Speech Recognition
Voice pattern analysis mein use hota hai.
5. Image Processing
Object identification aur segmentation mein use hota hai.
6. Robotics
Adaptive intelligent systems develop karne mein useful hai.
38/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Traditional neural networks mein image ke har pixel ko directly process karna padta hai
jisse computational complexity bahut badh jati hai. CNN is problem ko solve karta hai by
using convolution operation, pooling aur shared weights. Is wajah se CNN images ko
efficiently process karta hai.
CNN ka sabse bada advantage ye hai ki ye automatically low-level aur high-level features
learn karta hai. Jaise:
Architecture of CNN
CNN mainly following layers se milkar bana hota hai:
1. Input Layer
2. Convolution Layer
3. Activation Function
4. Pooling Layer
5. Fully Connected Layer
6. Output Layer
1. Input Layer
Input layer image data receive karti hai. Image usually matrix form mein represent hoti hai.
Example:
2. Convolution Layer
Ye CNN ka most important layer hota hai. Is layer mein small filters ya kernels image par
slide karte hain aur feature maps generate karte hain.
Formula:
Where:
I = Input image
K = Kernel/filter
S = Feature map
Filters detect:
Edges
Lines
Shapes
Textures
3. Activation Function
39/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Convolution ke baad activation function apply hota hai taaki nonlinearity introduce ho
sake.
Formula:
f (x) = max(0, x)
ReLU negative values ko 0 bana deta hai aur positive values ko same rakhta hai.
4. Pooling Layer
Pooling layer feature map ka size reduce karta hai aur important information preserve
karta hai.
Types:
Max Pooling
Average Pooling
Benefits:
Reduces computation
Prevents overfitting
Improves efficiency
6. Output Layer
Final prediction ya classification provide karti hai.
Example:
Cat
Dog
Car
Human
Working of CNN
1. Image input di jati hai.
2. Convolution layer features extract karti hai.
3. Activation function nonlinearity apply karta hai.
4. Pooling layer dimensionality reduce karta hai.
5. Fully connected layer classification karti hai.
6. Output layer final prediction deta hai.
40/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Advantages of CNN
Automatic feature extraction
High accuracy in image tasks
Parameter sharing reduces complexity
Translation invariance
Powerful deep learning model
Disadvantages of CNN
Requires large training data
High computational cost
Training time zyada hota hai
GPU requirement hoti hai
Applications of CNN
1. Image Recognition
Faces aur objects identify karta hai.
2. Medical Imaging
Tumor detection aur X-ray analysis mein use hota hai.
3. Self-Driving Cars
Road signs aur obstacles detect karta hai.
4. Facial Recognition
Security systems aur smartphones mein use hota hai.
5. Video Analysis
Motion tracking aur surveillance mein use hota hai.
RNN ka main feature feedback connection hota hai jisse network past outputs ko
remember kar sakta hai. Isi wajah se RNN time-series aur sequence-based problems ke liye
suitable hota hai.
Example:
Sentence prediction
41/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Speech recognition
Language translation
RNN previous words ko remember karke next word predict karta hai.
Architecture of RNN
RNN mein:
Input layer
Hidden recurrent layer
Output layer
hoti hain.
RNN Diagram
Mathematical Representation
Hidden state:
ht = f (W xt + U ht−1 + b)
Output:
yt = g(V ht )
Where:
xt = Current input
ht = Hidden state
W , U , V = Weight matrices
Working of RNN
1. Current input receive hota hai.
2. Previous hidden state combine hota hai.
3. Hidden state update hota hai.
4. Output generate hota hai.
5. Hidden state future use ke liye store hota hai.
Types of RNN
1. One-to-One
Simple ANN structure.
42/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. One-to-Many
Single input se sequence output.
Example:
3. Many-to-One
Sequence input se single output.
Example:
Sentiment analysis
4. Many-to-Many
Sequence input aur sequence output.
Example:
Language translation
Problems in RNN
1. Vanishing Gradient Problem
Long sequences mein gradients bahut small ho jate hain aur learning slow ho jati hai.
Applications of RNN
1. Speech Recognition
Voice processing aur assistants mein use hota hai.
2. Language Translation
Google Translate jaisi systems mein.
3. Text Prediction
Mobile keyboards aur autocomplete systems.
5. Chatbots
Conversation understanding ke liye.
43/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Advantages of RNN
Sequential data handling
Memory capability
Context understanding
Variable-length input support
Disadvantages of RNN
Slow training
Vanishing gradient issue
Computationally expensive
Backpropagation ANN history ka most important algorithm maana jata hai kyunki isi
algorithm ne deep neural networks ko effectively train karna possible banaya.
Ye process repeatedly continue hota hai until minimum error achieve ho jaye.
hoti hain.
Architecture Diagram
44/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Neuron output:
y = f (∑ wi xi + b)
Error formula:
E = 12 (T − O)2
Where:
T = Target output
O = Actual output
Where:
η = Learning rate
δ = Error term
45/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
High accuracy
Complex problem solving
Adaptive learning
Widely used deep learning foundation
2. Medical Diagnosis
Diseases predict karne mein use hota hai.
3. Financial Prediction
Stock market forecasting.
4. Pattern Recognition
Data patterns identify karta hai.
5. Speech Recognition
Voice processing systems mein use hota hai.
6. Industrial Automation
Smart control systems develop karta hai.
Membership function batata hai ki koi element fuzzy set mein kitna belong karta hai.
Example:
Temperature = 35°C
Hot set membership = 0.8
46/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
μA (x) : X → [0, 1]
Where:
X = Universal set
Value lies between 0 and 1
Membership Value
1.0 | /\
| / \
0.8 | / \
| / \
0.5 |-------------/--------\---------
| / \
0.0 |___________/____________\______
x
1. Support
Support fuzzy set ka woh region hota hai jahan membership value zero se greater hoti hai.
Mathematically:
Yaani jitne values ki membership non-zero ho unka collection support kehlata hai.
Example:
Agar temperature 20°C se 40°C ke beech partially hot hai, to ye region support hoga.
2. Core
Core fuzzy set ka woh region hota hai jahan membership value exactly 1 hoti hai.
Mathematically:
Core(A) = {x ∣ μA (x) = 1}
Example:
Agar 30°C completely “Warm” hai aur uski membership 1 hai, to 30°C core region mein
hoga.
3. Boundary
Boundary woh region hota hai jahan membership value strictly 0 aur 1 ke beech hoti hai.
Mathematically:
47/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example:
25°C ki membership 0.6 ho sakti hai.
4. Crossover Point
Crossover point woh point hota hai jahan membership value 0.5 hoti hai.
Mathematically:
μA (x) = 0.5
5. Height
Height fuzzy set ki maximum membership value hoti hai.
Mathematically:
6. Normality
Agar kisi fuzzy set ki atleast ek membership value 1 ho to set normal fuzzy set kehlata hai.
Condition:
∃x ∈ X, μA (x) = 1
7. Convexity
Fuzzy set convex hota hai agar do points ke beech membership value minimum
membership se less na ho.
/\
/ \
____/____\____
48/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
______
/ \
___/________\___
__
/ \
___/ \___
2. Air Conditioners
Temperature control systems.
3. Medical Diagnosis
Disease severity analysis.
4. Traffic Control
Smart signal management.
5. Robotics
Intelligent movement control.
6. Industrial Automation
Process control systems.
49/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Fuzzy relation fuzzy set theory ka important concept hai jo two or more sets ke elements
ke beech relationship ko represent karta hai. Classical relations mein relationship sirf true
ya false hota hai, lekin fuzzy relations mein degree of relation 0 se 1 ke beech hoti hai.
Agar:
R(X, Y )
Membership function:
μR (x, y) : X × Y → [0, 1]
Yaani har pair (x, y) ki relation strength 0 aur 1 ke beech hoti hai.
Main operations:
1. Union
2. Intersection
3. Complement
4. Difference
5. Composition
6. Inverse Relation
7. Projection
8. Cylindrical Extension
1. Union Operation
Union operation do fuzzy relations ko combine karta hai. Membership value maximum
operator se calculate hoti hai.
Formula:
Example
Agar:
μR (x, y) = 0.6
μS (x, y) = 0.8
Then:
Characteristics
OR operation represent karta hai.
50/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Intersection Operation
Intersection common relation strength represent karta hai.
Formula:
Example
Agar:
μR (x, y) = 0.6
μS (x, y) = 0.8
Then:
Characteristics
AND operation represent karta hai.
Minimum value select hoti hai.
3. Complement Operation
Complement operation relation ka opposite represent karta hai.
Formula:
Example
Agar:
μR (x, y) = 0.7
Then:
Characteristics
NOT operation represent karta hai.
Membership inverse ho jati hai.
4. Difference Operation
Difference operation relation R mein present aur S mein absent part represent karta hai.
Formula:
51/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example
Agar:
μR (x, y) = 0.9
μS (x, y) = 0.4
Then:
Agar:
R(X, Y )
S(Y , Z)
to composition:
T (X, Z) = R ∘ S
Max-Min Composition
Most commonly used composition.
Formula:
Working
1. Minimum operation perform hota hai.
2. Phir maximum value select hoti hai.
Applications
Decision making
Control systems
Fuzzy inference systems
6. Inverse Relation
Inverse relation mein relation direction reverse ho jati hai.
Agar:
R(X, Y )
to inverse:
R−1 (Y , X)
52/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Formula:
Example
Agar:
Relation “teacher teaches student”
Inverse:
“student taught by teacher”
7. Projection Operation
Projection fuzzy relation ko lower dimension mein convert karta hai.
Agar:
R(X, Y )
to projection on X :
Formula:
Purpose
Dimensionality reduction
Simplified representation
8. Cylindrical Extension
Cylindrical extension lower-dimensional fuzzy set ko higher-dimensional relation mein
convert karta hai.
Example:
1. Reflexive Relation
Agar:
μR (x, x) = 1
for all x
53/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Symmetric Relation
Agar:
μR (x, y) = μR (y, x)
3. Transitive Relation
Agar:
R∘R⊆R
2. Decision Making
Complex uncertain situations mein.
3. Pattern Recognition
Data similarity analysis.
4. Database Systems
Fuzzy database querying.
5. Medical Diagnosis
Disease-symptom relationship analysis.
6. Artificial Intelligence
Knowledge representation aur reasoning systems mein.
Traditional systems sirf binary logic use karte hain jahan output either 0 ya 1 hota hai, lekin
FIS partial truth values ko handle karta hai. Isi wajah se FIS real-world problems mein
bahut useful hota hai jahan exact mathematical models available nahi hote.
FIS ka main purpose crisp input ko fuzzy values mein convert karna, fuzzy rules apply
karna aur final crisp output generate karna hota hai.
54/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Fuzzy Inference System mainly following components se milkar bana hota hai:
1. Fuzzification
2. Knowledge Base
3. Rule Base
4. Inference Engine
5. Defuzzification
Crisp Input
|
v
Fuzzification
|
v
Inference Engine
^
|
Rule Base
|
v
Defuzzification
|
v
Crisp Output
1. Fuzzification
Fuzzification crisp numerical input ko fuzzy linguistic variables mein convert karta hai.
Example:
Temperature = 35°C
Warm = 0.6
Hot = 0.8
2. Knowledge Base
Knowledge base mein:
Membership functions
Fuzzy rules
3. Rule Base
Rule base IF-THEN rules contain karta hai.
Example:
IF temperature is high
THEN fan speed is fast
55/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
4. Inference Engine
Inference engine fuzzy rules ko evaluate karta hai aur fuzzy reasoning perform karta hai.
Ye decide karta hai kaunsa rule active hoga aur final fuzzy output kya hoga.
5. Defuzzification
Defuzzification fuzzy output ko crisp numerical output mein convert karta hai.
Example:
Common methods:
Centroid Method
Mean of Maximum
Weighted Average
Isme:
Input --> Fuzzification --> Rule Evaluation --> Aggregation --> Defuzzification --> Ou
Example:
56/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
IF temperature is hot
THEN fan speed is high
Step 3: Aggregation
Sabhi rule outputs combine kiye jate hain.
Step 4: Defuzzification
Final fuzzy output crisp value mein convert hota hai.
Advantages
Simple and intuitive
Expert knowledge representation easy
Real-world uncertain systems ke liye suitable
Disadvantages
Computational complexity zyada
Large rule base slow ho sakta hai
Input --> Fuzzification --> Rule Evaluation --> Weighted Average --> Output
57/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example:
IF temperature is high
THEN output = 2x + 5
Yahan output fuzzy set nahi hai, balki mathematical equation hai.
Formula:
∑ wi z i
Output =
∑ wi
Where:
wi = Rule weight
zi = Rule output
Advantages
Computationally efficient
Suitable for optimization
Works well with adaptive techniques
58/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Disadvantages
Human interpretation difficult
Rule representation less intuitive
Fuzzy control systems uncertain, nonlinear aur complex systems ko efficiently handle kar
sakte hain. Isme inputs aur outputs crisp values ke bajay fuzzy values ke form mein process
hote hain. Fuzzy controller IF-THEN rules ke basis par decisions leta hai.
Example Rule:
IF temperature is high
THEN fan speed is fast
59/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Input --> Fuzzification --> Rule Base & Inference --> Defuzzification --> Output
2. Air Conditioners
Temperature control.
4. Industrial Automation
Process and machine control.
5. Robotics
Robot motion and navigation control.
6. Automobile Systems
Automatic braking aur cruise control systems.
60/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Fuzzy Clustering ek clustering technique hai jisme data points ek se zyada clusters ka
partial member ho sakte hain. Traditional hard clustering mein har data point sirf ek cluster
belong karta hai, lekin fuzzy clustering mein membership values 0 se 1 ke beech hoti hain.
Ye real-world problems ke liye useful hai jahan boundaries clearly defined nahi hoti.
Example:
Ek customer simultaneously “medium buyer” aur “high buyer” dono categories ka partial
member ho sakta hai.
Example:
P1 0.7 0.3
Isme:
Membership Formula
Fuzzy clustering membership generally:
0 ≤ μij ≤ 1
Where:
ij ∥xi − cj ∥
61/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Where:
xi = Data point
cj = Cluster center
m = Fuzziness parameter
2. Image Segmentation
Images ko regions mein divide karna.
3. Pattern Recognition
Data pattern analysis.
4. Market Segmentation
Customer grouping.
5. Data Mining
Large datasets analysis.
6. Bioinformatics
Gene expression analysis.
62/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Purpose To represent precise data in fuzzy form. To obtain final exact output from
fuzzy data.
Input Type Takes crisp input values. Takes fuzzy input values.
Output Type Produces fuzzy sets or membership values. Produces crisp numerical output.
Position in FIS Performed at the beginning of fuzzy inference Performed at the end of fuzzy
system. inference system.
Data Representation Converts exact values into linguistic terms like Converts linguistic fuzzy values
low, medium, high. into exact numerical form.
Example Temperature 35°C → Hot = 0.8 Fan speed fuzzy value → 80 RPM
Fuzzification
Fuzzification fuzzy logic system ka first step hota hai. Is process mein crisp input values ko
fuzzy linguistic variables mein convert kiya jata hai using membership functions.
Example:
Agar temperature = 40°C ho, to:
Warm = 0.4
Hot = 0.9
Yaani same input multiple fuzzy sets ka partial member ho sakta hai.
Diagram
Defuzzification
Defuzzification fuzzy logic system ka final step hota hai. Is process mein fuzzy inference
engine se obtained fuzzy output ko crisp numerical value mein convert kiya jata hai.
Example:
63/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Diagram
Importance
Importance of Fuzzification
Uncertainty ko handle karta hai.
Human reasoning imitate karta hai.
Linguistic variables allow karta hai.
Importance of Defuzzification
Practical usable output provide karta hai.
Real-world control actions possible banata hai.
Final decision generate karta hai.
membership function
Membership Function
Membership Function (MF) fuzzy logic ka ek mathematical function hota hai jo batata hai
ki koi element kisi fuzzy set ka kitna member hai. Classical set theory mein membership sirf
0 ya 1 hoti hai, lekin fuzzy set theory mein membership value 0 se 1 ke beech hoti hai.
Membership function uncertainty aur vagueness ko represent karta hai. Ye fuzzy logic
systems ka core component hota hai.
Definition
Membership function ko generally:
μA (x) : X → [0, 1]
Where:
X = Universal set
Membership value lies between 0 and 1
Basic Concept
64/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example
Suppose fuzzy set = “Hot Temperature”
Temperature Membership Value
20°C 0
30°C 0.4
40°C 0.8
50°C 1
Yaani:
20°C hot nahi hai
50°C completely hot hai
40°C partially hot hai
Membership Value
1.0 | /\
| / \
0.8 | / \
| / \
0.5 |-------------/--------\---------
| / \
0.0 |___________/____________\______
x
2. Core
Jahan membership value exactly 1 ho.
3. Boundary
Jahan membership value 0 aur 1 ke beech ho.
65/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
4. Height
Maximum membership value.
5. Normality
Agar kisi fuzzy set ki atleast ek membership value 1 ho to set normal hota hai.
/\
/ \
____/____\____
Formula:
⎧0, x≤a
⎨ c−x
x−a
b−a , a<x≤b
μ(x) =
⎩ c−b , b<x<c
0, x≥c
Where:
a, b, c = Parameters
______
/ \
___/________\___
__
/ \
___/ \___
Formula:
(x−c)2
μ(x) = e− 2σ 2
Where:
66/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
c = Center
σ = Width
2. Air Conditioners
Temperature control systems.
3. Medical Diagnosis
Disease severity analysis.
4. Traffic Control
Smart traffic management.
5. Robotics
Robot motion control.
6. Industrial Automation
Process control systems.
Fuzzy Sets
67/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Fuzzy Set ek mathematical concept hai jo uncertain, vague aur imprecise information ko
represent karta hai. Classical set theory mein kisi element ki membership sirf do values
mein hoti hai:
0 → Not member
1 → Member
Lekin real-world situations mein kai concepts exact nahi hote. Example:
Tall person
Hot temperature
Fast speed
In concepts ko exact boundary mein define karna difficult hota hai. Isi problem ko solve
karne ke liye fuzzy set theory introduce ki gayi.
Fuzzy set mein har element ki membership degree 0 se 1 ke beech hoti hai. Iska matlab koi
element partially bhi set ka member ho sakta hai.
A = {(x, μA (x))∣x ∈ X}
Where:
x = Element
μA (x) = Membership value
20°C 0
30°C 0.4
40°C 0.8
50°C 1
Yaani:
20°C bilkul hot nahi hai
50°C fully hot hai
40°C partially hot hai
68/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Fuzzy sets par different operations perform kiye ja sakte hain. Yahan do important
operations explain kiye gaye hain:
1. Union Operation
2. Intersection Operation
Formula:
Example
Suppose:
μA (x) = 0.6
μB (x) = 0.8
Then:
Diagram
A = 0.6
B = 0.8
Properties of Union
1. Commutative Property
A∪B =B∪A
2. Associative Property
(A ∪ B) ∪ C = A ∪ (B ∪ C)
3. Idempotent Property
A∪A=A
69/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Formula:
Example
Suppose:
μA (x) = 0.6
μB (x) = 0.8
Then:
Diagram
A = 0.6
B = 0.8
Properties of Intersection
1. Commutative Property
A∩B =B∩A
2. Associative Property
(A ∩ B) ∩ C = A ∩ (B ∩ C)
3. Idempotent Property
A∩A=A
1. Complement Property
Complement fuzzy set ka opposite represent karta hai.
Formula:
70/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. De Morgan’s Law
(A ∪ B)c = Ac ∩ B c
(A ∩ B)c = Ac ∪ B c
3. Absorption Law
A ∪ (A ∩ B) = A
A ∩ (A ∪ B) = A
2. Air Conditioners
Smart temperature control.
3. Medical Diagnosis
Disease severity analysis.
5. Robotics
Robot movement control.
6. Artificial Intelligence
Decision-making systems.
unit 4
Fuzzy set mein har element ki membership value 0 aur 1 ke beech hoti hai, lekin lambda
cut apply karne ke baad sirf wahi elements select hote hain jo given threshold satisfy karte
hain.
μA (x)
Aλ = {x ∈ X ∣ μA (x) ≥ λ}
71/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Where:
λ = Threshold value
0≤λ≤1
Lambda cut fuzzy information ko simplified crisp form mein represent karta hai.
Agar:
λ = 0.5
to:
A0.5 = {x2 , x3 , x4 }
Kyuki:
0.5 ≥ 0.5
0.7 ≥ 0.5
1.0 ≥ 0.5
lekin:
0.2 < 0.5
isliye x1 include nahi hoga.
Membership Value
1.0 | *
| / \
0.7 |--------------*---\---------
| / \
0.5 |------------*-------\-------
| / \
0.0 |__________/___________\_____
λ-cut
Definition:
72/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Definition:
Aλ = {x ∈ X ∣ μA (x) ≥ λ}
R(X, Y )
μR (x, y)
Rλ = {(x, y) ∣ μR (x, y) ≥ λ}
μR (x, y) ≥ λ
μR (x, y) < λ
Included
Not included
0 or 1
hoti hain.
Hence proved:
73/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Pattern Recognition
Important patterns select karne ke liye.
3. Medical Diagnosis
Disease severity filtering.
4. Control Systems
Crisp control actions generate karne ke liye.
5. Image Processing
Object segmentation aur classification.
Neuro-fuzzy systems uncertain aur nonlinear problems ko efficiently solve karte hain.
Neuro-fuzzy system:
74/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
3. Rule Layer
4. Inference Layer
5. Defuzzification Layer
6. Output Layer
Block Diagram
Input --> Fuzzification --> Rule Base --> Inference --> Defuzzification --> Output
^
|
Neural Learning
1. Learning Capability
Neural networks ki help se system automatically learn karta hai aur experience ke through
improve hota hai.
2. Uncertainty Handling
Fuzzy logic uncertain aur imprecise data ko efficiently process karta hai.
3. Adaptability
Changing environments ke according parameters automatically adjust hote hain.
4. Human-Like Reasoning
Linguistic IF-THEN rules human reasoning ko imitate karte hain.
Example:
IF temperature is high
THEN fan speed is fast
5. Fault Tolerance
Noisy aur incomplete data ke saath bhi system efficiently kaam karta hai.
75/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
7. Knowledge Representation
Rules understandable aur interpretable hote hain.
8. Self-Organization
System automatically patterns aur relationships discover kar sakta hai.
9. Parallel Processing
Multiple operations simultaneously perform kar sakta hai.
Main classifications:
Training complete hone ke baad neural network ka role khatam ho jata hai aur fuzzy
system independently work karta hai.
Working
Neural network learns parameters.
Fuzzy system uses learned parameters.
Final decision fuzzy logic se hota hai.
Features
Simple architecture
Good interpretability
Offline learning possible
Applications
76/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Pattern recognition
Decision support systems
Working
Neural network real-time learning perform karta hai.
Fuzzy system reasoning perform karta hai.
Continuous interaction hoti hai.
Features
Real-time adaptation
Continuous learning
Dynamic behavior handling
Applications
Robotics
Process control systems
Example:
Working
Membership functions neural learning se adjust hote hain.
Rules automatically optimized hote hain.
Entire system adaptive hota hai.
Features
High learning capability
Strong adaptability
Efficient optimization
Applications
Industrial automation
77/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Medical diagnosis
Financial forecasting
2. Medical Diagnosis
Disease prediction systems.
3. Robotics
Intelligent robot navigation.
4. Traffic Control
Adaptive traffic management.
5. Financial Forecasting
Stock market prediction.
6. Pattern Recognition
Speech aur image recognition systems.
78/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
7. Power Systems
Load forecasting aur fault detection.
8. Consumer Electronics
Smart washing machines aur air conditioners.
Neuro-Fuzzy Modeling
Neuro-Fuzzy Modeling ek intelligent modeling technique hai jo Artificial Neural Networks
(ANN) aur Fuzzy Logic ko combine karti hai taaki complex systems ka accurate
mathematical ya logical model develop kiya ja sake. Is approach mein neural networks ki
learning capability aur fuzzy logic ki reasoning capability dono ka use hota hai.
Real-world systems often nonlinear, uncertain aur difficult-to-model hote hain. Traditional
mathematical models har situation mein effective nahi hote. Neuro-fuzzy modeling aise
systems ko approximate reasoning aur adaptive learning ke through model karta hai.
Neuro-fuzzy modeling mein fuzzy IF-THEN rules aur membership functions use kiye jate
hain, aur neural network automatically in parameters ko learn aur optimize karta hai.
Input --> Fuzzification --> Rule Base --> Inference --> Defuzzification --> Output
^
|
Neural Learning
79/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Mathematical Representation
Suppose fuzzy rule:
IF x is A AND y is B
THEN:
f = ax + by + c
Where:
2. Medical Diagnosis
Disease prediction and classification.
3. Financial Forecasting
80/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
4. Pattern Recognition
Speech aur image recognition.
Neuro-Fuzzy Control
Neuro-Fuzzy Control ek intelligent control technique hai jo fuzzy control system aur neural
network learning ko combine karta hai. Isme fuzzy logic control decisions provide karta hai
aur neural network controller ko learn aur adapt karne mein help karta hai.
Traditional control systems fixed mathematical models use karte hain, lekin neuro-fuzzy
control uncertain, dynamic aur nonlinear systems ko efficiently control karta hai.
Example:
IF speed is high
THEN brake force is strong
Input --> Fuzzification --> Rule Base --> Inference --> Defuzzification --> Control Ou
^
81/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
|
Neural Learning
2. Industrial Automation
Temperature, pressure and speed control.
3. Automobile Systems
Automatic braking and cruise control.
4. Power Systems
Voltage and load control.
5. Aerospace Systems
82/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
6. Smart Appliances
Washing machines and air conditioners.
7. Traffic Control
Adaptive traffic signal systems.
GA complex aur nonlinear problems ko efficiently solve kar sakta hai jahan traditional
optimization methods effective nahi hote. Isliye Artificial Intelligence, Machine Learning,
Engineering aur many industrial fields mein iska wide use hota hai.
1. Optimization Problems
Genetic Algorithm ka sabse common use optimization problems solve karna hai. GA best
possible solution search karta hai by evolving population of candidate solutions.
Applications
Function optimization
Resource allocation
Cost minimization
Profit maximization
Example
Production cost ko minimum karna.
83/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Applications
Neural network training
Feature selection
Hyperparameter optimization
Rule generation
Example
Best neural network architecture find karna.
3. Robotics
Robotics mein genetic algorithm robot behavior aur path planning optimize karta hai.
Applications
Robot navigation
Motion planning
Intelligent control
Multi-robot coordination
Example
Robot ke shortest collision-free path ko find karna.
4. Scheduling Problems
GA complex scheduling tasks ko optimize karta hai.
Applications
Job scheduling
Timetable generation
CPU scheduling
Task allocation
Example
College timetable automatically generate karna.
5. Engineering Design
Engineering systems mein best design parameters optimize karne ke liye GA use hota hai.
Applications
Structural design
Circuit design
Mechanical system optimization
Antenna design
Example
Bridge design ka weight aur strength optimize karna.
84/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Applications
Pattern matching
Clustering
Image recognition
Feature extraction
Example
Face recognition systems.
7. Medical Field
Medical diagnosis aur treatment optimization mein GA use hota hai.
Applications
Disease prediction
Medical image analysis
Drug design
Gene analysis
Example
Cancer detection systems.
8. Network Optimization
Communication aur computer networks mein efficient routing aur resource management
ke liye use hota hai.
Applications
Routing optimization
Network design
Traffic management
Load balancing
Example
Internet packet routing optimization.
Applications
Stock market prediction
Portfolio optimization
Risk analysis
Investment planning
Example
Best investment combination choose karna.
85/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Applications
Image segmentation
Noise reduction
Signal filtering
Compression techniques
Example
Satellite image enhancement.
Applications
Strategy optimization
NPC behavior learning
Automatic game testing
Example
Chess-playing AI.
12. Bioinformatics
Biological data analysis aur DNA sequence optimization mein use hota hai.
Applications
DNA sequencing
Protein structure prediction
Gene mapping
Example
Genetic disease analysis.
Applications
Economic load dispatch
Unit commitment
Power flow optimization
Example
Electricity generation cost reduce karna.
Applications
86/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Vehicle routing
Traffic signal optimization
Logistics planning
Example
Shortest delivery route selection.
87/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Learning Capability Can evolve and improve Normally does not learn
solutions over generations. automatically unless combined
with ANN.
Genetic Algorithm
Genetic Algorithm ek evolutionary optimization technique hai jo natural selection concept
par based hota hai. Ye multiple candidate solutions generate karta hai aur best solution ko
generations ke through evolve karta hai.
Main operations:
Selection
Crossover
Mutation
GA mainly optimization aur search problems solve karne ke liye use hota hai.
Applications
Route optimization
Neural network training
Scheduling
Robotics
Stock market prediction
Fuzzy Logic
Fuzzy Logic ek intelligent reasoning technique hai jo uncertain aur vague information ko
process karta hai. Isme truth values sirf 0 ya 1 nahi hoti, balki 0 se 1 ke beech hoti hain.
88/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Membership functions
Fuzzy sets
IF-THEN rules
Applications
Washing machines
Air conditioners
Traffic control systems
Medical diagnosis
Industrial automation
Key Difference
Genetic Algorithm ka focus optimization par hota hai.
Fuzzy Logic ka focus intelligent reasoning aur uncertainty handling par hota hai.
GA best solution search karta hai, jabki fuzzy logic approximate decisions leta hai.
GA complex optimization aur search problems ko solve karne ke liye use hota hai. Ye
multiple candidate solutions generate karta hai aur generations ke through best solution
evolve karta hai.
Genetic Algorithm Artificial Intelligence aur Soft Computing ka important part hai.
Algorithm repeatedly:
1. Population
89/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example:
Population:
101001
111000
010111
2. Chromosome
Har candidate solution chromosome ke form mein represent hota hai.
3. Gene
Chromosome ka individual part gene kehlata hai.
Example:
Chromosome:
101101
Genes:
1, 0, 1, 1, 0, 1
4. Fitness Function
Fitness function solution ki quality measure karta hai.
5. Selection
Best chromosomes next generation ke liye select kiye jate hain.
6. Crossover
Do parent chromosomes combine hoke new offspring generate karte hain.
Example:
Parent 1: 101|001
Parent 2: 110|111
Offspring 1: 101111
Offspring 2: 110001
7. Mutation
Random changes genes mein introduce kiye jate hain diversity maintain karne ke liye.
Example:
90/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Start
|
Initialize Population
|
Evaluate Fitness
|
Selection
|
Crossover
|
Mutation
|
New Population
|
Stopping Condition?
|
Yes ---> Stop
No ----> Repeat
Short length
Low order
High fitness
hote hain.
Selection process:
91/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Crossover operation:
Different good building blocks ko combine karta hai.
Result:
Better offspring solutions generate hote hain.
10111001
Agar:
“101”
“110”
Genetic Algorithm future generations mein in blocks ko preserve aur combine karega.
Schema Concept
Building block ko schema ke form mein represent kiya jata hai.
Example:
1*0*
Where:
* means any value.
92/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Machine Learning
Feature selection and neural network optimization.
3. Robotics
Robot path planning.
4. Engineering Design
Circuit and structural optimization.
5. Medical Field
Disease prediction and drug design.
6. Image Processing
Pattern recognition and segmentation.
Genetic Algorithm mein chromosomes fixed strings hote hain, lekin Genetic Programming
mein complete computer programs ya mathematical expressions evolve kiye jate hain.
GP ka objective automatically aisa program generate karna hota hai jo given problem ko
efficiently solve kar sake.
John Koza ne Genetic Programming ko popular banaya aur ise Artificial Intelligence ka
important area banaya.
93/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example:
(+)
/ \
(*) 5
/ \
x y
(x × y) + 5
1. Population
Programs ka collection population kehlata hai.
2. Program Tree
Programs tree structure mein represent hote hain.
Internal nodes → Functions/operators
Leaf nodes → Variables/constants
3. Fitness Function
Program ki performance evaluate karta hai.
4. Selection
Best programs next generation ke liye choose kiye jate hain.
5. Crossover
Do parent program trees ke parts exchange kiye jate hain.
6. Mutation
Program tree ka kuch part randomly modify hota hai.
Example:
Expression:
94/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
(x + y) × z
Tree representation:
(*)
/ \
(+) z
/ \
x y
Example:
Mathematical expressions
Decision trees
Logical programs
Error
Accuracy
Efficiency
Step 3: Selection
High fitness wale programs select kiye jate hain.
Selection methods:
Example:
Parent 1:
(+)
/ \
x y
Parent 2:
95/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
(*)
/ \
a b
After crossover:
(+)
/ \
x (*)
/ \
a b
Example:
Before mutation:
(+ x y)
After mutation:
(- x y)
96/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Start
|
Generate Initial Population
|
Evaluate Fitness
|
Selection
|
Crossover
|
Mutation
|
Create New Population
|
Termination Condition?
|
Yes ---> Stop
No ----> Repeat
2. Robotics
Robot control programs.
3. Symbolic Regression
Mathematical equation discovery.
4. Financial Forecasting
Stock market prediction.
97/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
5. Image Processing
Pattern recognition and feature extraction.
7. Medical Diagnosis
Disease prediction systems.
8. Control Systems
Adaptive intelligent controllers.
Unit - 5
1. Pattern Recognition
Pattern Recognition ek process hai jisme computer systems data ke andar hidden patterns,
structures aur regularities identify karte hain. Ye Artificial Intelligence, Machine Learning
aur Soft Computing ka important application area hai. Pattern recognition ka main
objective input data ko analyze karke usko specific categories ya classes mein classify
karna hota hai.
Human brain naturally faces, voices aur objects recognize karta hai. Isi concept ko
machines mein implement karne ke liye pattern recognition techniques use ki jati hain.
Pattern recognition structured aur unstructured dono types ke data par work karta hai
jaise:
Images
Audio
Text
Signals
Videos
98/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Block Diagram
Input Data --> Preprocessing --> Feature Extraction --> Classification --> Output
1. Data Collection
Raw data sensors ya datasets se collect kiya jata hai.
Example:
Camera images
Voice signals
2. Preprocessing
Noise remove kiya jata hai aur data normalize kiya jata hai.
3. Feature Extraction
Important characteristics identify ki jati hain.
Example:
Image edges
Speech frequency
4. Classification
Extracted features ko categories mein classify kiya jata hai using:
Neural Networks
Fuzzy Logic
Support Vector Machine
99/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Speech Recognition
Voice assistants jaise Siri aur Alexa.
3. Medical Diagnosis
Disease detection through medical images.
4. Fingerprint Recognition
Biometric authentication systems.
6. Industrial Automation
Fault detection systems.
Advantages
Automatic recognition capability
High accuracy
Large data analysis possible
Fast decision making
Disadvantages
Large training data required
Computational complexity high
Noise sensitivity
Human language naturally ambiguous aur complex hoti hai. NLP systems grammar, syntax,
semantics aur context ko analyze karke meaningful processing perform karte hain.
NLP ka main goal humans aur computers ke beech natural communication establish karna
hai.
100/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Components of NLP
1. Lexical Analysis
Words aur tokens identify kiye jate hain.
Example:
Sentence:
“I love AI”
Tokens:
I
love
AI
2. Syntax Analysis
Grammar aur sentence structure analyze hota hai.
3. Semantic Analysis
Sentence ka meaning identify kiya jata hai.
4. Pragmatic Analysis
Context aur intention understand ki jati hai.
Input Text --> Tokenization --> Parsing --> Semantic Analysis --> Response Generation
Applications of NLP
1. Chatbots
Customer support systems.
2. Language Translation
Google Translate.
3. Speech Recognition
101/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Voice assistants.
4. Sentiment Analysis
Social media opinion analysis.
5. Text Summarization
Automatic summary generation.
6. Spam Detection
Email filtering systems.
Advantages of NLP
Human-computer interaction improve karta hai
Automatic text processing
Fast communication
Large-scale data analysis
Disadvantages of NLP
Ambiguity handling difficult
Complex grammar processing
Context understanding challenging
Market share represent karta hai ki total market sales ka kitna percentage kisi company ke
paas hai.
Formula:
Company Sales
M arket Share = T otal M arket Sales
× 100
Example
Suppose:
Company sales = 50 lakh
Total market sales = 200 lakh
Then:
50
M arket Share = × 100 = 25%
200
102/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
4. Strategic planning
1. Data Collection
Sales aur customer data collect kiya jata hai.
2. Market Segmentation
Customers different groups mein divide hote hain.
3. Competitor Analysis
Competitors ki performance compare hoti hai.
4. Trend Analysis
Market growth aur decline trends identify kiye jate hain.
5. Decision Making
Business strategies optimize ki jati hain.
market trends aur customer behavior predict karne ke liye use hoti hain.
Applications
1. Sales Forecasting
Future sales prediction.
2. Customer Segmentation
Customer groups identify karna.
3. Product Recommendation
Customer preferences analysis.
4. Risk Analysis
Business risks predict karna.
103/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Advantages
Better business strategy
Competitive advantage
Accurate forecasting
Customer understanding improve hota hai
Disadvantages
Large data requirement
Complex analysis
Market uncertainty problem
Robotics
Robotics ek interdisciplinary field hai jo robots ke design, construction, programming,
operation aur control se related hoti hai. Robotics mein Computer Science, Mechanical
Engineering, Electronics, Artificial Intelligence aur Control Systems ka combination use
hota hai.
Modern robotics mein Artificial Intelligence aur Soft Computing techniques ka use karke
robots ko intelligent banaya jata hai taaki woh environment ko understand kar sake aur
autonomous decisions le sake.
Definition of Robot
Robot ek electro-mechanical intelligent machine hai jo programmed instructions ke
according tasks perform karta hai aur sensors ke through environment se information
receive karta hai.
104/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
1. Mechanical Structure
Robot ka physical body structure hota hai jisme links, joints aur frames hote hain.
Example:
Robotic arm
Mobile robot body
2. Sensors
Sensors environment se information detect karte hain.
Example:
Temperature sensor
Vision sensor
3. Actuators
Actuators electrical signals ko physical movement mein convert karte hain.
Example:
Motors
Hydraulic cylinders
4. Controller
Controller robot ka brain hota hai jo decisions aur operations control karta hai.
5. Power Supply
Robot ko energy provide karta hai.
Example:
Battery
Electrical supply
Types of Robots
1. Industrial Robots
Manufacturing industries mein use hote hain.
Applications:
Welding
Painting
Material handling
105/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Mobile Robots
Movement capability wale robots.
Example:
Delivery robots
Autonomous vehicles
3. Humanoid Robots
Human-like robots.
Example:
ASIMO
Sophia
4. Medical Robots
Medical operations aur surgeries mein use hote hain.
Example:
Surgical robots
5. Military Robots
Defense aur surveillance operations mein use hote hain.
6. Service Robots
Daily life assistance provide karte hain.
Example:
Cleaning robots
Characteristics of Robots
Automation capability
High precision
Speed and efficiency
Programmability
Repeatability
Intelligence and adaptability
106/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Applications of Robotics
1. Manufacturing Industries
Assembly lines aur welding.
2. Medical Field
Robotic surgery aur rehabilitation.
3. Space Exploration
Mars rovers aur satellites.
4. Agriculture
Automatic harvesting aur monitoring.
5. Defense
Bomb disposal aur surveillance.
6. Education
Research aur learning systems.
7. Household Applications
Vacuum cleaning robots.
Advantages of Robotics
High efficiency
Continuous operation
Human risk reduction
Accurate performance
Fast production
Disadvantages of Robotics
High initial cost
Maintenance complexity
Job replacement issues
Limited creativity
Sensors
Sensor ek electronic device hota hai jo physical environment ki information detect karta
hai aur usko electrical signals mein convert karta hai. Sensors robotics aur automation
systems ka very important component hote hain.
Sensors robots ko environment ko “feel” karne ki capability dete hain. Human body mein
eyes, ears aur skin jaise sensory organs ka role robotics mein sensors perform karte hain.
Definition of Sensor
Sensor ek device hai jo physical quantity detect karke usable electrical signal generate
karta hai.
107/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Physical quantities:
Temperature
Pressure
Light
Motion
Distance
Sound
Characteristics of Sensors
1. Sensitivity
Input changes ko detect karne ki capability.
2. Accuracy
Correct measurement provide karne ki ability.
3. Range
Minimum aur maximum measurable values.
4. Response Time
Sensor kitni quickly response deta hai.
5. Resolution
Smallest detectable change.
6. Reliability
Consistent performance capability.
Classification of Sensors
Sensors different basis par classify kiye jate hain.
108/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example:
Radar
Ultrasonic sensor
Example:
Thermocouple
2. Based on Measurement
Examples:
Thermistor
Thermocouple
Applications:
Air conditioners
Industrial control
Applications:
Hydraulic systems
Medical devices
Applications:
Obstacle detection
Automatic doors
Examples:
109/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Applications:
Street lights
Camera systems
Applications:
Security systems
Smart lighting
Applications:
Computer vision
Face recognition
Applications:
Touchscreens
Robotic hands
Applications of Sensors
1. Robotics
Navigation aur obstacle avoidance.
110/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Medical Systems
Patient monitoring devices.
3. Industrial Automation
Process monitoring and control.
4. Smart Homes
Automatic lighting aur security.
5. Automobiles
Parking sensors aur airbags.
6. Environmental Monitoring
Weather aur pollution detection.
Advantages of Sensors
Real-time monitoring
High accuracy
Automation support
Fast response
Intelligent control possible
Disadvantages of Sensors
Calibration required
Noise interference
Maintenance cost
Environmental limitations
Example:
Ye objectives ek dusre ke opposite ho sakte hain. Isi wajah se ek single perfect solution
milna difficult hota hai. Isliye compromise solutions ya Pareto optimal solutions use kiye
jate hain.
111/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Where:
f1 , f2 , f3 = Multiple objective functions
x = Decision variables
Goal:
Simultaneously all objectives optimize karna.
Example of MOOP
Car design problem:
1. Fuel efficiency maximize karna
2. Cost minimize karna
3. Speed maximize karna
MOEA simultaneously multiple solutions generate karta hai aur Pareto optimal solutions
find karta hai.
Ye population-based search perform karta hai aur multiple trade-off solutions provide
karta hai.
Working of MOEA
1. Initial population generate hoti hai.
2. Multiple objectives evaluate hote hain.
3. Fitness assign hoti hai.
4. Selection perform hota hai.
5. Crossover aur mutation apply hote hain.
6. Pareto optimal solutions evolve hote hain.
112/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Features:
Characteristics of MOEA
Population-based search
Multiple solutions generate karta hai
Global optimization capability
Handles nonlinear problems
113/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Advantages of MOEA
Multiple objectives simultaneously solve karta hai
Trade-off solutions provide karta hai
Complex problems handle karta hai
Global search capability
Disadvantages of MOEA
Computational complexity high
Convergence slow ho sakta hai
Large population required
Parameter tuning difficult
Applications:
Aircraft design
Automobile engineering
2. Robotics
Objectives:
Path shortest ho
Energy consumption minimum ho
Collision avoid ho
Applications:
Robot path planning
Autonomous systems
Applications:
Smart grids
Energy management systems
114/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
4. Transportation Systems
Objectives:
Travel time reduce
Fuel efficiency improve
Traffic congestion minimize
Applications:
Route optimization
Traffic signal control
Applications:
Investment planning
Stock market analysis
6. Industrial Scheduling
Objectives:
Production time reduce
Resource utilization maximize
Applications:
Manufacturing systems
Job scheduling
Applications:
Mobile communication
IoT networks
8. Medical Applications
Objectives:
Treatment effectiveness maximize
Side effects minimize
Applications:
Drug design
Radiation therapy optimization
9. Machine Learning
115/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Objectives:
Accuracy maximize
Complexity minimize
Applications:
Feature selection
Neural network optimization
Summary
MOOP ek optimization problem hota hai jisme multiple conflicting objectives hote
hain.
MOEA ek evolutionary algorithm hota hai jo MOOP solve karta hai.
MOOP defines “what to optimize”.
MOEA defines “how to optimize”.
Dono cases mein multiple objectives present hote hain, lekin objectives ki number aur
complexity mein difference hota hai.
Example:
Yahan objectives ek dusre ke opposite ho sakte hain. Isliye single best solution milna
difficult hota hai aur Pareto optimal solutions use kiye jate hain.
Mathematical Representation
F (x) = [f1 (x), f2 (x), ..., fn (x)]
Where:
Number of objectives usually:
n≤3
116/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Cost minimize
3. Speed maximize
Jab objectives ki number increase hoti hai tab optimization complexity bahut zyada badh
jati hai aur traditional multi-objective algorithms less effective ho jate hain.
Mathematical Representation
F (x) = [f1 (x), f2 (x), f3 (x), ..., fn (x)]
Where:
Number of objectives generally:
n>3
117/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Multi-Objective
Basis Optimization Many-Objective Optimization
1. Curse of Dimensionality
Objectives badhne par search space bahut large ho jata hai.
4. Visualization Problem
4+ dimensions ko graphically represent karna difficult hota hai.
Popular Algorithms
118/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
2. Robotics
Shortest path aur energy optimization.
3. Financial Systems
Profit maximize aur risk minimize.
4. Scheduling Problems
Time aur resource optimization.
2. Aerospace Engineering
Weight, fuel, speed aur safety optimization.
3. Healthcare Systems
Cost, effectiveness aur patient safety optimization.
4. Cloud Computing
Latency, energy aur resource optimization.
Key Point
Multi-objective optimization few objectives handle karta hai.
Many-objective optimization large number of objectives handle karta hai.
Many-objective optimization more complex aur computationally expensive hota hai.
DNA sequence → A, T, G, C
RNA sequence → A, U, G, C
Protein sequence → Amino acids
Sequence alignment molecular biology, genetics, medical research aur drug discovery
mein bahut important role play karta hai.
119/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Sequence 1 : A T G C A
Sequence 2 : A T - C A
Yahan:
Matching characters similarity show karte hain.
Gap insertion alignment improve karta hai.
Useful when:
Example
ATGCA
AT-CA
Features
Full sequence comparison
Best overall alignment
Applications
Closely related species comparison
Useful when:
120/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Example
GGATGCAAA
ATGCA
Features
High similarity regions detect karta hai
Partial matching possible
Applications
Protein database searching
1. Pairwise Alignment
Do sequences compare ki jati hain.
Applications:
Phylogenetic analysis
Conserved region detection
1. Match Score
Similar characters ke liye positive score.
2. Mismatch Penalty
Different characters ke liye negative score.
3. Gap Penalty
Inserted gaps ke liye penalty.
121/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Needleman-Wunsch Algorithm
Global alignment algorithm.
Steps:
1. Matrix initialization
2. Score calculation
3. Traceback process
Smith-Waterman Algorithm
Local alignment algorithm.
1. Disease Detection
Genetic mutations identify karne ke liye.
2. Evolutionary Study
Species relationships analyze karne ke liye.
4. Genome Sequencing
DNA sequence analysis.
5. Drug Discovery
Target proteins identify karne ke liye.
122/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
Drug Design
Drug Design ek scientific process hai jisme new medicines ya chemical compounds
develop kiye jate hain jo diseases treat kar sake. Drug design ka objective specific
biological targets ke against effective aur safe drugs create karna hota hai.
Modern drug design computational biology, Artificial Intelligence, molecular biology aur
bioinformatics ka use karta hai.
Drug generally:
Protein
Enzyme
DNA
Receptor
Steps
1. Target protein identify
2. 3D structure determine
3. Active site analyze
4. Drug molecule design
5. Docking simulation
Applications
Cancer drugs
Antiviral drugs
123/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
1. Target Identification
Disease-causing biological target identify kiya jata hai.
Example:
Protein
Enzyme
2. Target Validation
Confirm kiya jata hai ki target disease se related hai.
4. Optimization
Drug effectiveness improve ki jati hai.
5. Preclinical Testing
Animals par testing hoti hai.
6. Clinical Trials
Humans par testing hoti hai.
Molecular Docking
Drug design mein molecular docking important technique hai.
124/125
5/8/26, 11:01 AM Biological vs Artificial Neurons
1. Cancer Treatment
Targeted cancer drugs development.
2. Antibiotic Development
Bacterial infection treatment.
3. Antiviral Drugs
Virus inhibition.
Example:
COVID-19 drugs
4. Personalized Medicine
Patient-specific drugs design.
5. Neurological Disorders
Brain disease treatments.
125/125