Artificial Neural Network

PUBLISHED: MAY 2, 20262 MIN READ

Brain and Perceptrons:Biological learning systems are built from a very complex web of interconnected neurons.The human brain has an immensely connected network

Divya Sachan
Divya SachanAuthor
porygon
#137
porygon

Brain and Perceptrons:

Biological learning systems are built from a very complex web of interconnected neurons.
The human brain has an immensely connected network of approximately 100 billion neurons, each connected on average to 1,000 other neurons.
Even though the neuron transmission speeds are much slower than computer processing speeds, the brain’s massive parallelism makes it extremely powerful for learning and decision-making tasks.

Artificial Neurons:

An artificial neuron is a mathematical function conceived as a model of a biological neuron.
Artificial neurons are the elementary units of an artificial neural network (ANN).
This artificial neuron receives one or more inputs and sums them to produce an output.
Each input is individually weighted, and the sum is passed through a function known as the activation function or transfer function.

Artificial neuron model showing inputs, weights, summation, and activation function producing output.

📌 Terminology:

  • : Input signal
  • : Weights associated with inputs
  • : Input signal taking a constant value of 1
  • : Weight associated with x₀ (called bias)
  • : Summation of input signals
  • : Activation function (produces the output)
  • : Output signal
y=i=0nwixiy=\sum_{i=0}^{n}w_{i}x_{i}

⚡ Activation Function

In artificial neural networks, the activation function takes the incoming signals as input and produces the output signal. It determines whether a neuron should be activated or not by calculating a weighted sum and applying a transformation.

🧠 Common Activation Functions:

1. Threshold activation function

The threshold activation function is defined as

f(x)= 1 if x > 0f(x)=\text{ 1 if x > 0}
f(x)= -1 if x 0f(x)=\text{ -1 if x }\leq0
Threshold activation function graph showing output switching between −1 and +1 based on input.

2. Unit step function

Some time threshold activation function is also defined as unite step function in which case it is called unit step activation functions.

Defined as

f(x)=1if x 0f(x)=\text{1if x }\geq0
f(x)=0 if x <0f(x)=\text{0 if x }<0

3. Sigmoid activation function (logistic function)

one of the most commonly used activation functions is the sigmoidal activation function.
it is defined as:

f(z)=11+ezf(z)=\frac{1}{1+e^{-z}}
Sigmoid activation function curve mapping input values smoothly between 0 and 1.

4. Linear activation function

The Linear activation function is defined by

f(x)=mx+cf(x)=mx+c
Linear activation function graph showing straight-line relationship between input and output.

5. Piecewise saturated linear activation function

It is defined as:

f(x)=0ifx<xminf(x)=0\quad\text{if}x<x_{min}
f(x)=mx+cifxminxxmaxf(x)=mx+c\quad\text{if}x_{min}\leq x\leq x_{max}

$

6. Gaussian activation function

This is defined as

f(x)=1σ2πex22σ2f(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{x^2}{2\sigma^2}}

Explanation:

  • is the standard deviation.
  • is the mathematical constant Pi.
  • ensures the Gaussian shape.

This function is commonly used in radial basis function networks and probabilistic models.

7. Hyperbolic tangent (tanh) activation function

This function is defined as

f(x)=exexex+exf(x)=\frac{e^x - e^{-x}}{e^x + e^{-x}}
Tanh activation function graph showing output range between −1 and 1 with smooth S-shaped curve.