Deep Learning
Deep Learning
Chapter 20
Method aims at using observations gathered from the interaction with the
environment to take actions that would maximize the reward or minimize
the risk. Reinforcement learning algorithm (called the agent) continuously
learns from the environment in an iterative fashion. In the process, the
agent learns from its experiences of the environment until it explores the
full range of possible states.
2. Reinforcement Learning
In order to produce intelligent programs (also called agents), reinforcement learning goes through the following
steps:
Use cases:
Some applications of the reinforcement learning algorithms are computer played board games (Chess, Go),
robotic hands, and self-driving cars.
Deep learning
Contents
This neural network is one of the simplest forms of ANN, where the data or the input travels in
one direction. The data passes through the input nodes and exit on the output nodes. This
neural network may or may not have the hidden layers.
In simple words,The feed forward model is the simplest form of neural network as information
is only processed in one direction. While the data may pass through multiple hidden nodes, it
always moves in one direction and never backwards.
Types of ANN: Single Layer Feedforward Neural Network
In Single layer feed-forward network, the sum of the products of inputs and weights are calculated and fed to
the output. The output is considered if it is above a certain value i.e threshold(usually 0) and the neuron fires
with an activated output (usually 1) and if it does not fire, the deactivated value is emitted (usually -1).
Recurrent neural networks recognize data's sequential characteristics and use patterns to predict the next
likely scenario.
Example
Recurrent Neural Network(RNN) – Long Short Term Memory:
Here, the first layer is formed similar to the feed forward neural network with the product of the sum of the
weights and the features. The recurrent neural network process starts once this is computed, this means that
from one time step to the next each neuron will remember some information it had in the previous time-step.
This makes each neuron act like a memory cell in performing computations. In this process, we need to let
the neural network to work on the front propagation and remember what information it needs for later use.
Here, if the prediction is wrong we use the learning rate or error correction to make small changes so that it
will gradually work towards making the right prediction during the back propagation.
Recurrent Neural Network(RNN) – Long Short Term Memory:
Based on the layers, Perceptron models are divided into two types. These are as follows:
1. Single-layer Perceptron Model: Single layer perceptron model has one hidden layer.
2. Multi-layer Perceptron model: Like a single-layer perceptron model, a multi-layer perceptron model also has the
same model structure but has a greater number of hidden layers. The multi-layer perceptron model is also known
as the Backpropagation algorithm.
Back - propagation Learning
Backpropagation in neural network is a short form for “backward propagation of errors.” It is a
standard method of training artificial neural networks. This method helps calculate the gradient of a
loss function with respect to all the weights in the network.
Transfer Learning
Transfer learning is a machine learning method where a model developed for a task is reused as the starting point
for a model on a second task.
● https://www.xenonstack.com/blog/artificial-neural-network-applications
● https://vidyaesampally1998.medium.com/artificial-neural-network-v-s-biological-neural-network-a0862d12e9a8
● https://www.tutorialspoint.com/artificial_neural_network/artificial_neural_network_applications.htm
● http://neuralnetworksanddeeplearning.com/
● https://www.coursera.org/learn/neural-networks-deep-learning/home/week/1
● https://towardsdatascience.com/perceptron-learning-algorithm-d5db0deab975
● https://www.guru99.com/backpropogation-neural-network.html
● https://www.v7labs.com/blog/transfer-learning-guide#:~:text=In%20other%20words%2C%20transfer%20learning,
when%20modeling%20the%20second%20task
● https://analyticsindiamag.com/6-types-of-artificial-neural-networks-currently-being-used-in-todays-technology/
● https://deepai.org/machine-learning-glossary-and-terms/feed-forward-neural-network .
● https://www.analyticsvidhya.com/blog/2021/03/introduction-to-long-short-term-memory-lstm/
Study Materials