What is Neural Network in AI ?


Artificial Intelligence A device takes in information, does some processing to complete the task successfully.

A system that perceives information from the environment understands and interprets the data to take required action is known as Artificial intelligence machines.

A system that maximizes its chance of success by properly analyzing data is the core of Artificial intelligence. To develop Artificial intelligence (AI) products hardcoded instructions or program is of no use as the data around us is huge.

So as to develop generic solution algorithms are designed in such a way that enables machines to learn the required pattern, gain intelligence over time to take make a good decision.

How do humans learn?

Acquiring new things and updating our skills, knowledge is the process of learning. God blessed humans and every creature on the planet with this skill. With experience, we learn and grow.

Due to continuous interaction with society and the environment consciously and unconsciously we all are learning.

Five traditionally recognized senses of humans are sight (eyes), smell (nose), touch (skin), hearing, taste (tongue). All the species in the world have a multitude of senses.

With these senses we continuously gather information, neurons carry information our brain interprets the signals, processes, integrates and coordinates to take decisions.

How AI mimics biological Neurons?

The brain’s basic working unit is neurons. The human brain is made up of 100 billion neurons. These neurons transmit information to and from the brain and to the various parts of the body.

Biological Neurons:

Deep Learning is a subset of Artificial Intelligence that consists of algorithms inspired by the function and structure of the brain.

Artificial neurons are inspired by biological neurons. The neurons are connected to each other to control body functions, emotions, and movements.

The key components of biological neurons are: Dendrites bring information to soma so dendrites accept stimuli from an external environment.

Soma is the spherical part of neurons, the incoming signals are summed up by the soma when sufficient input is received neurons fire up(i.e. when the threshold is exceeded) and the axon sends information to other neurons depending upon the strength of the signal. If the input is not sufficient no potential action is taken.

Artificial Neuron:

An elementary unit in Artificial Neural Network is Artificial Neuron. The artificial neuron is primarily composed of Inputs, weights, Activation function and Output. Each input has an associated weight (w). The input is summed up and a non-linear activation function is applied to it. The output is given at the output line.

Working of Artificial Neural Network :

  1. Multiply inputs by its weight. For example : x1.w1j
  2. Calculate the weighted sum for each input and weight. ?wj
  3. The netput is given to the activation function to determine the output. If the weighted sum is greater than the threshold value assigns 1 and else 0 as output.

Artificial Neural Network (ANN):

Artificial Neural network is composed of multiple nodes which take input process them and give output. Each node output is known as activation or node value.

ANN consists of the input layers, hidden layers and output layers. At the hidden layer, input is transformed to derive some pattern that can be given at the output layer.

Types of Neural Network in Artificial Intelligence: 

The Different Types of Neural network are:

  1. Convolutional Neural Network
  2. Feed Forward Neural Network
  3. Radial basis Function Neural Network
  4. Multilayer Perceptron
  5. Recurrent Neural Network
  6. Long short-term memory
  7. Long short-term memory
  8. Input Layer
  9. Convolutional Layers
  10. Pooling Layers
  11. Fully connected Layers
  • Convolutional Neural Network (CNN)

Convolutional Neural Network works best for Images and videos which is a class of Deep Neural Networks. It has input layers, output layers and multiple hidden layers which are series of convolutional layers.

The building blocks are

  1. Input Layer
  2. Convolutional Layers
  3. Pooling Layers
  4. Fully connected Layers

As we can see in the diagram first input image with its height and weight parameter is feed at the input layer. The image is convoluted and passed to the next layer. Pooling layers is generally use to manage the dimensions of the data. Finally, the output is flattened and given at the output layer.