5.6.6 · D3 · HinglishMachine Learning (Aerospace Applications)

Worked examplesNeural network fundamentals — neuron, activation functions (ReLU, sigmoid, tanh)

2,801 words13 min read↑ Read in English

5.6.6 · D3 · Coding › Machine Learning (Aerospace Applications) › Neural network fundamentals — neuron, activation functions (

Tumne parent note mein neuron aur uske teen activation functions dekhe hain. Is page ka ek hi kaam hai: har activation function ko har tarah ke number ke saath drag karke dikhana — bada positive, bada negative, bilkul zero, bahut chota, aur real aircraft data — taaki jab tum exam mein baitho ya network debug karo, tum woh case pehle se dekh chuke ho.

Shuru karne se pehle, sirf teen rules ka do-line recap — seedhe words mein, taaki koi symbol bina wajah na lage.

Scenario matrix

Har neuron input ek single number hai. Numbers ke sirf itne hi shapes hote hain, aur activations bhi sirf itne. Yeh grid poori duniya hai — neeche har worked example ek row fill karta hai.

Cell Scenario class Kya test kar rahe hain Example
A large ReLU pass karta hai, sigmoid → 1, tanh → +1 (saturation) Ex. 1
B large ReLU zero kar deta hai, sigmoid → 0, tanh → −1 Ex. 2
C exactly Teeno ka pivot point Ex. 3
D small (near 0), dono signs Jahan gradients sabse strong hote hain; symmetry Ex. 4
E Limiting behaviour : kaunsi value approach hoti hai par kabhi reach nahi hoti? Ex. 5
F Gradient / vanishing derivative values, kyun deep sigmoid mar jaata hai Ex. 6
G Real-world word problem poora neuron: weights + bias + activation Ex. 7
H Exam twist dead ReLU + Leaky ReLU rescue Ex. 8

Pehle poora landscape ek saath dekho — har curve ki shape se answer milta hai, koi arithmetic se pehle.

Figure — Neural network fundamentals — neuron, activation functions (ReLU, sigmoid, tanh)

Cell A — large positive

Cell B — large negative

Cell C — exactly zero

Sabse important single point: teeno curves origin region se guzarti hain, aur yahan unke derivatives (steepness) peak karte hain.

Figure — Neural network fundamentals — neuron, activation functions (ReLU, sigmoid, tanh)

Cell D — small near the origin (dono signs)

Cell E — limiting behaviour ()

Cell F — gradients aur vanishing problem

Derivative curve ki ek point par steepness hai. Training mein (dekho Backpropagation and Gradient Descent) yeh steepness values layer by layer multiply hoti hain, toh hamen jaanna zaroori hai ki yeh kitni chhoti ho sakti hain.

Figure — Neural network fundamentals — neuron, activation functions (ReLU, sigmoid, tanh)

Cell G — real-world word problem (poora neuron)

Cell H — exam twist: dead ReLU rescued by Leaky ReLU


Recall Self-check: pehle cell name karo, phir answer

::: (Cell B — large negative par ReLU) ::: (Cell C — pivot) ::: (Cell C — zero-centered) Sigmoid jis value ko par approach karta hai ::: , lekin kabhi reach nahi karta (Cell E) ki maximum possible value ::: , par (Cell F) ke liye Leaky ReLU gradient ::: (nonzero → neuron alive rehta hai, Cell H) 10 sigmoid layers mein best-case gradient ::: kareeb — vanishing gradient (Cell F) ko ke terms mein ::: (Cell D — sigmoid symmetry)

Related: Vanishing and Exploding Gradients · Backpropagation and Gradient Descent · Binary Cross-Entropy Loss (sigmoid outputs yahan feed hote hain) · Sensor Fusion in Aerospace (jahan yeh neurons real telemetry read karte hain).