SlideShare a Scribd company logo
1 of 22
NEURAL NETWORKS WITH “R”
Lecture 13
Dr. S.M. Ali Tirmizi
Chapters No. 1 - 3
1
2
INTRODUCTION
 NN & AI Concepts
 Artificial Neural Networks (ANNs) that, starting from
the mechanisms regulating natural neural networks, plan
to simulate human thinking.
 The discipline of ANN arose from the thought of
mimicking the functioning of the same human brain that
was trying to solve the problem.
 AI or machine intelligence is a field of study that aims to
give cognitive powers to computers to program them to
learn and solve problems.
 Its objective is to simulate computers with human
intelligence.
3
INTRODUCTION
 Machine learning is a branch of AI which helps
computers to program themselves based on the
input data.
 Machine learning gives AI the ability to do data-
based problem solving.
 ANNs are an example of machine learning
algorithms.
 Deep learning (DL) is complex set of neural
networks with more layers of processing, which
develop high levels of abstraction.
 They are typically used for complex tasks, such as
image recognition, image classification, and hand
writing identification.
4
INTRODUCTION
5
HOW DO NEURAL NETWORKS WORK
 ANNs define the neuron as a central processing
unit, which performs a mathematical operation
to generate one output from a set of inputs.
 The output of a neuron is a function of the
weighted sum of the inputs plus the bias. Each
neuron performs a very simple operation that
involves activating if the total amount of signal
received exceeds an activation threshold.
6
HOW DO NEURAL NETWORKS WORK
7
HOW DO NEURAL NETWORKS WORK
 The function of the entire neural network is
simply the computation of the outputs of all the
neurons, which is an entirely deterministic
calculation.
 We would now be introducing new terminology
associated with ANNs:
1. Input layer
2. Hidden layer
3. Output layer
4. Weights
5. Bias
6. Activation functions
8
LAYERED APPROACH
 Any neural network processing a framework has
the following architecture:
9
LAYERED APPROACH
 There is a set of inputs, a processor, and a set of
outputs.
 This layered approach is also followed in neural
networks.
 The inputs form the input layer, the middle
layer(s) which performs the processing is called
the hidden layer(s), and the output(s) forms the
output layer.
10
WEIGHTS AND BIASES
 Weights in an ANN are the most important factor in
converting an input to impact the output.
 This is similar to slope in linear regression, where a
weight is multiplied to the input to add up to form
the output.
 Weights are numerical parameters which determine
how strongly each of the neurons affects the other.
11
WEIGHTS AND BIASES
12
TRAINING NEURAL NETWORK
 Training is the act of presenting the network
with some sample data and modifying the
weights to better approximate the desired
function.
 There are two main types of training:
1. Supervised learning
2. Unsupervised learning
13
SUPERVISED LEARNING
 We supply the neural network with inputs and
the desired outputs.
 Response of the network to the inputs is
measured.
 The weights are modified to reduce the
difference between the actual and desired
outputs.
14
UNSUPERVISED LEARNING
 We only supply inputs.
 The neural network adjusts its own weights, so
that similar inputs cause similar outputs.
 The network identifies the patterns and
differences in the inputs without any external
assistance.
15
EPOCH
 One iteration or pass through the process of
providing the network with an input and
updating the network's weights is called an
epoch.
 It is a full run of feed-forward and
backpropagation for update of weights.
 It is also one full read through of the entire
dataset.
 Typically, many epochs, in the order of tens of
thousands at times, are required to train the
neural network efficiently.
16
ACTIVATION FUNCTIONS
 The abstraction of the processing of neural networks
is mainly achieved through the activation functions.
 An activation function is a mathematical function
which converts the input to an output, and adds the
magic of neural network processing.
 Without activation functions, the working of neural
networks will be like linear functions.
17
PERCEPTRON AND MULTILAYER
ARCHITECTURES
 A perceptron is a single neuron that classifies a set
of inputs into one of two categories (usually 1 or -
1).
 If the inputs are in the form of a grid, a perceptron
can be used to recognize visual images of shapes.
 The perceptron usually uses a step function, which
returns 1 if the weighted sum of the inputs exceeds a
threshold, and 0 otherwise.
18
PERCEPTRON AND MULTILAYER
ARCHITECTURES
 When layers of perceptron are combined
together, they form a multilayer architecture,
and this gives the required complexity of the
neural network processing.
 Multi-Layer Perceptrons (MLPs) are the most
widely used architecture for neural networks.
19
FORWARD AND BACKPROPAGATION
 The processing from input layer to hidden
layer(s) and then to the output layer is called
forward propagation.
 The sum(input*weights)+bias is applied at each
layer and then the activation function value is
propagated to the next layer.
 The next layer can be another hidden layer or
the output layer.
 The construction of neural networks uses large
number of hidden layers to give rise to Deep
Neural Network (DNN).
20
FORWARD AND BACKPROPAGATION
 Once the output is arrived at, at the last layer
(the output layer), we compute the error (the
predicted output minus the original output).
 This error is required to correct the weights and
biases used in forward propagation.
 Here is where the derivative function is used.
 The amount of weight that has to be changed is
determined by gradient descent.
21
FORWARD AND BACKPROPAGATION
 The backpropagation process uses the partial
derivative of each neuron's activation function to
identify the slope (or gradient) in the direction of
each of the incoming weights.
 The gradient suggests how steeply the error will be
reduced or increased for a change in the weight.
 The backpropagation keeps changing th weights
until there is greatest reduction in errors by an
amount known as the learning rate.
END OF LECTURE 13
22

More Related Content

What's hot

Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkDessy Amirudin
 
Ai and neural networks
Ai and neural networksAi and neural networks
Ai and neural networksNikhil Kansari
 
Artificial neural network for machine learning
Artificial neural network for machine learningArtificial neural network for machine learning
Artificial neural network for machine learninggrinu
 
Neural Networks
Neural Networks Neural Networks
Neural Networks Eric Su
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkImtiaz Siddique
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligencealldesign
 
Neural Network Classification and its Applications in Insurance Industry
Neural Network Classification and its Applications in Insurance IndustryNeural Network Classification and its Applications in Insurance Industry
Neural Network Classification and its Applications in Insurance IndustryInderjeet Singh
 
Supervised Learning
Supervised LearningSupervised Learning
Supervised Learningbutest
 
NEURAL NETWORKS
NEURAL NETWORKSNEURAL NETWORKS
NEURAL NETWORKSESCOM
 
Artificial neural networks and its application
Artificial neural networks and its applicationArtificial neural networks and its application
Artificial neural networks and its applicationHưng Đặng
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkBurhan Muzafar
 
Perceptron algorithm
Perceptron algorithmPerceptron algorithm
Perceptron algorithmZul Kawsar
 
Handwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTHandwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTRishabhTyagi48
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkManasa Mona
 

What's hot (20)

Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Ai and neural networks
Ai and neural networksAi and neural networks
Ai and neural networks
 
Artificial neural network for machine learning
Artificial neural network for machine learningArtificial neural network for machine learning
Artificial neural network for machine learning
 
Neural
NeuralNeural
Neural
 
Neural Networks
Neural Networks Neural Networks
Neural Networks
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligence
 
Neural networks
Neural networksNeural networks
Neural networks
 
Neural Network Classification and its Applications in Insurance Industry
Neural Network Classification and its Applications in Insurance IndustryNeural Network Classification and its Applications in Insurance Industry
Neural Network Classification and its Applications in Insurance Industry
 
Neural networks
Neural networksNeural networks
Neural networks
 
Supervised Learning
Supervised LearningSupervised Learning
Supervised Learning
 
NEURAL NETWORKS
NEURAL NETWORKSNEURAL NETWORKS
NEURAL NETWORKS
 
Artificial Neural Network.pptx
Artificial Neural Network.pptxArtificial Neural Network.pptx
Artificial Neural Network.pptx
 
Artificial neural networks and its application
Artificial neural networks and its applicationArtificial neural networks and its application
Artificial neural networks and its application
 
Cnn
CnnCnn
Cnn
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Perceptron algorithm
Perceptron algorithmPerceptron algorithm
Perceptron algorithm
 
Handwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTHandwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPT
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 

Similar to Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 13

BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...
BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...
BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...DurgadeviParamasivam
 
Artificial neural network paper
Artificial neural network paperArtificial neural network paper
Artificial neural network paperAkashRanjandas1
 
Acem neuralnetworks
Acem neuralnetworksAcem neuralnetworks
Acem neuralnetworksAastha Kohli
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisAdityendra Kumar Singh
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cseNaveenBhajantri1
 
Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Akash Goel
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks ShwethaShreeS
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RManish Saraswat
 
Neuralnetwork 101222074552-phpapp02
Neuralnetwork 101222074552-phpapp02Neuralnetwork 101222074552-phpapp02
Neuralnetwork 101222074552-phpapp02Deepu Gupta
 
Neural networks are parallel computing devices.docx.pdf
Neural networks are parallel computing devices.docx.pdfNeural networks are parallel computing devices.docx.pdf
Neural networks are parallel computing devices.docx.pdfneelamsanjeevkumar
 
Neural networks
Neural networksNeural networks
Neural networksBasil John
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.pptRINUSATHYAN
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applicationsSangeeta Tiwari
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101AMIT KUMAR
 

Similar to Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 13 (20)

Neural Network
Neural NetworkNeural Network
Neural Network
 
ANN.ppt
ANN.pptANN.ppt
ANN.ppt
 
BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...
BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...
BACKPROPOGATION ALGO.pdfLECTURE NOTES WITH SOLVED EXAMPLE AND FEED FORWARD NE...
 
Artificial neural network paper
Artificial neural network paperArtificial neural network paper
Artificial neural network paper
 
Neural network
Neural networkNeural network
Neural network
 
Acem neuralnetworks
Acem neuralnetworksAcem neuralnetworks
Acem neuralnetworks
 
071bct537 lab4
071bct537 lab4071bct537 lab4
071bct537 lab4
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cse
 
ANN - UNIT 1.pptx
ANN - UNIT 1.pptxANN - UNIT 1.pptx
ANN - UNIT 1.pptx
 
Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
 
Neuralnetwork 101222074552-phpapp02
Neuralnetwork 101222074552-phpapp02Neuralnetwork 101222074552-phpapp02
Neuralnetwork 101222074552-phpapp02
 
Neural networks are parallel computing devices.docx.pdf
Neural networks are parallel computing devices.docx.pdfNeural networks are parallel computing devices.docx.pdf
Neural networks are parallel computing devices.docx.pdf
 
Neural networks
Neural networksNeural networks
Neural networks
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applications
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
 
Neural networks introduction
Neural networks introductionNeural networks introduction
Neural networks introduction
 

More from Dr. Muhammad Ali Tirmizi., Ph.D.

Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali TirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmizi
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmiziFinancial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmizi
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmiziDr. Muhammad Ali Tirmizi., Ph.D.
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 5
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 5Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 5
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 5Dr. Muhammad Ali Tirmizi., Ph.D.
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 4
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 4Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 4
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 4Dr. Muhammad Ali Tirmizi., Ph.D.
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 3Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 3
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3Dr. Muhammad Ali Tirmizi., Ph.D.
 

More from Dr. Muhammad Ali Tirmizi., Ph.D. (18)

Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 14 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 13 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 12 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 11 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 10 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 9 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 8 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 7 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 5 & 6 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 4 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 3 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali TirmiziFinancial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali Tirmizi
Financial Risk Mgt - Lec 2 by Dr. Syed Muhammad Ali Tirmizi
 
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmizi
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmiziFinancial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmizi
Financial Risk Mgt - Lec 1 by dr. syed muhammad ali tirmizi
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 5
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 5Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 5
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 5
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 4
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 4Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 4
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 4
 
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 3Dr. Syed Muhammad Ali Tirmizi - Special topics in finance   lec 3
Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 3
 
Special topics in finance lecture 2
Special topics in finance   lecture 2Special topics in finance   lecture 2
Special topics in finance lecture 2
 
Special topics in finance lec 1
Special topics in finance   lec 1Special topics in finance   lec 1
Special topics in finance lec 1
 

Recently uploaded

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 

Recently uploaded (20)

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 

Dr. Syed Muhammad Ali Tirmizi - Special topics in finance lec 13

  • 1. NEURAL NETWORKS WITH “R” Lecture 13 Dr. S.M. Ali Tirmizi Chapters No. 1 - 3 1
  • 2. 2 INTRODUCTION  NN & AI Concepts  Artificial Neural Networks (ANNs) that, starting from the mechanisms regulating natural neural networks, plan to simulate human thinking.  The discipline of ANN arose from the thought of mimicking the functioning of the same human brain that was trying to solve the problem.  AI or machine intelligence is a field of study that aims to give cognitive powers to computers to program them to learn and solve problems.  Its objective is to simulate computers with human intelligence.
  • 3. 3 INTRODUCTION  Machine learning is a branch of AI which helps computers to program themselves based on the input data.  Machine learning gives AI the ability to do data- based problem solving.  ANNs are an example of machine learning algorithms.  Deep learning (DL) is complex set of neural networks with more layers of processing, which develop high levels of abstraction.  They are typically used for complex tasks, such as image recognition, image classification, and hand writing identification.
  • 5. 5 HOW DO NEURAL NETWORKS WORK  ANNs define the neuron as a central processing unit, which performs a mathematical operation to generate one output from a set of inputs.  The output of a neuron is a function of the weighted sum of the inputs plus the bias. Each neuron performs a very simple operation that involves activating if the total amount of signal received exceeds an activation threshold.
  • 6. 6 HOW DO NEURAL NETWORKS WORK
  • 7. 7 HOW DO NEURAL NETWORKS WORK  The function of the entire neural network is simply the computation of the outputs of all the neurons, which is an entirely deterministic calculation.  We would now be introducing new terminology associated with ANNs: 1. Input layer 2. Hidden layer 3. Output layer 4. Weights 5. Bias 6. Activation functions
  • 8. 8 LAYERED APPROACH  Any neural network processing a framework has the following architecture:
  • 9. 9 LAYERED APPROACH  There is a set of inputs, a processor, and a set of outputs.  This layered approach is also followed in neural networks.  The inputs form the input layer, the middle layer(s) which performs the processing is called the hidden layer(s), and the output(s) forms the output layer.
  • 10. 10 WEIGHTS AND BIASES  Weights in an ANN are the most important factor in converting an input to impact the output.  This is similar to slope in linear regression, where a weight is multiplied to the input to add up to form the output.  Weights are numerical parameters which determine how strongly each of the neurons affects the other.
  • 12. 12 TRAINING NEURAL NETWORK  Training is the act of presenting the network with some sample data and modifying the weights to better approximate the desired function.  There are two main types of training: 1. Supervised learning 2. Unsupervised learning
  • 13. 13 SUPERVISED LEARNING  We supply the neural network with inputs and the desired outputs.  Response of the network to the inputs is measured.  The weights are modified to reduce the difference between the actual and desired outputs.
  • 14. 14 UNSUPERVISED LEARNING  We only supply inputs.  The neural network adjusts its own weights, so that similar inputs cause similar outputs.  The network identifies the patterns and differences in the inputs without any external assistance.
  • 15. 15 EPOCH  One iteration or pass through the process of providing the network with an input and updating the network's weights is called an epoch.  It is a full run of feed-forward and backpropagation for update of weights.  It is also one full read through of the entire dataset.  Typically, many epochs, in the order of tens of thousands at times, are required to train the neural network efficiently.
  • 16. 16 ACTIVATION FUNCTIONS  The abstraction of the processing of neural networks is mainly achieved through the activation functions.  An activation function is a mathematical function which converts the input to an output, and adds the magic of neural network processing.  Without activation functions, the working of neural networks will be like linear functions.
  • 17. 17 PERCEPTRON AND MULTILAYER ARCHITECTURES  A perceptron is a single neuron that classifies a set of inputs into one of two categories (usually 1 or - 1).  If the inputs are in the form of a grid, a perceptron can be used to recognize visual images of shapes.  The perceptron usually uses a step function, which returns 1 if the weighted sum of the inputs exceeds a threshold, and 0 otherwise.
  • 18. 18 PERCEPTRON AND MULTILAYER ARCHITECTURES  When layers of perceptron are combined together, they form a multilayer architecture, and this gives the required complexity of the neural network processing.  Multi-Layer Perceptrons (MLPs) are the most widely used architecture for neural networks.
  • 19. 19 FORWARD AND BACKPROPAGATION  The processing from input layer to hidden layer(s) and then to the output layer is called forward propagation.  The sum(input*weights)+bias is applied at each layer and then the activation function value is propagated to the next layer.  The next layer can be another hidden layer or the output layer.  The construction of neural networks uses large number of hidden layers to give rise to Deep Neural Network (DNN).
  • 20. 20 FORWARD AND BACKPROPAGATION  Once the output is arrived at, at the last layer (the output layer), we compute the error (the predicted output minus the original output).  This error is required to correct the weights and biases used in forward propagation.  Here is where the derivative function is used.  The amount of weight that has to be changed is determined by gradient descent.
  • 21. 21 FORWARD AND BACKPROPAGATION  The backpropagation process uses the partial derivative of each neuron's activation function to identify the slope (or gradient) in the direction of each of the incoming weights.  The gradient suggests how steeply the error will be reduced or increased for a change in the weight.  The backpropagation keeps changing th weights until there is greatest reduction in errors by an amount known as the learning rate.
  • 22. END OF LECTURE 13 22