ML_ Unit 2_Part_B
Multilayer Networks
 Multilayer networks using gradient descent algorithm.
 In Perceptron its discontinuous threshold makes it
undifferentiable and hence unsuitable for gradient descent.
Differentiable Threshold Unit:
 Sigmoid unit is a smoothed, differentiable threshold
function.
 Like the perceptron, the sigmoid unit first computes a
linear combination of its inputs, then applies a threshold
to the result. In the case of the sigmoid unit, however, the
threshold output is a continuous function of its input.
 More precisely, the sigmoid unit computes its output o as
Where
 is often called the sigmoid function or, alternatively,
the logistic function. Its output ranges between 0 and 1,
increasing monotonically with its input.
 It maps a very large input domain to a small range of
outputs, it is often referred to as the squashing function of
the unit. The sigmoid function has the useful property that
its derivative is easily expressed in terms of its output.
 The function tanh is also sometimes used in place
 of the sigmoid function
BACK PROPAGATION
ALGORITHM
 The BACKPROPAGATION ALGORITHM:
 The BACKPROPAGATION Algorithm learns the weights
for a multilayer network, given a network with a fixed set
of units and interconnections.
 It employs gradient descent to attempt to minimize the
squared error between the network output values and the
target values for these outputs.
 we are considering networks with multiple output units
rather than single units as before, we begin by redefining
E to sum the errors over all of the network output units.
 where outputs is the set of output units in the network,
and tkd and okd are the target and output values
associated with the kth output unit and training
example d.
 One major difference in the case of multilayer
networks is that the error surface can have multiple
local minima, in contrast to the single-minimum
parabolic error surface.
 This is the incremental, or stochastic gradient
descent version of BACKPROPAGATION.
ML_ Unit 2_Part_B
ML_ Unit 2_Part_B
 The algorithm applies to layered feedforward networks containing
2 layers of sigmoid units, with units at each layer connected to all
units from the preceding layer.
 BACK-PROPAGATION.
 Notations:
 Constructing a network with the desired number of hidden and
output units and initializing all network weights to small
random values.
 Given this fixed network structure, the main loop of the
algorithm then repeatedly iterates over the training examples.
 calculates the error of the network output for this example,
computes the gradient with respect to the error on this example,
then updates all weights in the network.
 This gradient descent step is iterated until the network performs
acceptably well.
 The gradient descent weight-update rule is similar to the
delta training rule.
 Like the delta rule, it updates each weight in proportion to
the learning rate , the input value xji to which the weight is
applied, and the error in the output of the unit. The only
difference is that the error (t - o) in the delta rule is
replaced by a more complex error term.
 The weight-update loop in BACKPROPAGATION
Algorithm be iterated thousands of times in a typical
application.
Derivation of the BACKPROPAGATION Rule
 Recall that stochastic gradient descent involves iterating
through the training examples one at a time, for each
training example d descending the gradient of the error Ed
with respect to this single example. In other words, for
each training example d every weight wji is updated by
adding to it
 where Ed is the error on training example d, summed over
all output units in the network.
 Here outputs is the set of output units in the network, tk is
the target value of unit k for training example d, and ok is
the output of unit k given training example d.
 The derivation of the stochastic gradient descent rule is
conceptually straightforward, but requires keeping track of
a number of subscripts and variables.
 We will follow the notation adding a subscript j to denote
to the jth unit of the network as follows:
 We can use the chain rule to write
ML_ Unit 2_Part_B
 We consider two cases in turn: the case where unit j is an
output unit for the network, and the case where j is an
internal unit.
 Case 1: Training Rule for Output Unit Weights. Just as
wji can influence the rest of the network only through net,,
net, can influence the network only through oj. Therefore,
we can invoke the chain rule again to write
ML_ Unit 2_Part_B
 We have the stochastic gradient descent rule for output
units
Case 2: Training Rule for Hidden Unit Weights.
 In the case where j is an internal, or hidden unit in the
network, the derivation of the training rule for wji
must take into account the indirect ways in which wji can
influence the network outputs and hence Ed.
Notice that netj can influence the network output
only through the units in Downstream(j).
ML_ Unit 2_Part_B
 A variety of termination conditions can be used to halt
the procedure:
 One may choose to halt after a fixed number of iterations
through the loop, or once the error on the training
examples falls below some threshold, or once the error on
a separate validation set of examples meets some criterion.
 The choice of termination criterion is an important one,
because too few iterations can fail to reduce error
sufficiently, and too many can lead to overfitting
the training data.
ADDING MOMENTUM
 In the algorithm by making the weight update on the nth
iteration depend partially on the update that occurred
during the (n - 1)th iteration, as follows:
 is the weight update performed during the
nth iteration through the main loop of the algorithm,
and 0 < < 1 is a constant called the momentum.
 The 1st term in the right equation is weight-update rule
and 2nd term momentum term.
 The effect of is to add momentum that tends to keep the
ball rolling in the same direction from one iteration to the
next.
 This can sometimes have the effect of keeping the ball
rolling through small local minima in the error surface, or
along flat regions in the surface where the ball would stop
if there were no momentum.
It also has the effect of gradually increasing the step size
of the search in regions where the gradient is unchanging,
thereby speeding convergence.
LEARNING IN ARBITRARY ACYCLIC
NETWORKS
 The definition of BACKPROPAGATION applies only to
two-layer networks.
 In general, the value for a unit r in layer m is
computed from the values at the next deeper layer m+1
according to
 We really saying here is that this step may be repeated for
any number of hidden layers in the network.
 It is equally straightforward to generalize the algorithm to
any directed acyclic graph, regardless of whether the
network units are arranged in uniform layers as we have
assumed up to now. In the case that they are not, the rule
for calculating for any internal unit is
 Where Downstream(r) is the set of units immediately
downstream from unit r in the network: that is, all units
whose inputs include the output of unit r.
REMARKS
REMARKS ON THE BACKPROPAGATION
ALGORITHM
 Convergence and Local Minima:
 BACKPROPAGATION over multilayer networks is only
guaranteed to converge toward some local minimum in E
and not necessarily to the global minimum error.
 When gradient descent falls into a local minimum with
respect to one of these weights, it will not necessarily be
in a local minimum with respect to the other weights.
 A second perspective on local minima can be gained by
considering the manner in which network weights evolve
as the number of training iterations increases.
Common heuristics to attempt to alleviate the
problem of local minima include:
 Add a momentum term to the weight-update rule.
Momentum can sometimes carry the gradient descent
procedure through narrow local minima.
 Use stochastic gradient descent rather than true gradient
descent.
 Train multiple networks using the same data, but
initializing each network with different random weights.
 If the different training efforts lead to different local
minima, then the network with the best performance over
a separate validation data set can be selected.
Representational Power of FeedForward
Networks
 3 general rules of FeedForward network.
 Boolean functions. Every Boolean function can be
represented exactly by some network with two layers of
units, although the number of hidden units required grows
exponentially in the worst case with the number of
network inputs.
 Continuous functions. Every bounded continuous
function can be approximated with arbitrarily small error
(under a finite norm) by a network with two layers of units
 Arbitrary functions. Any function can be approximated to
arbitrary accuracy by a network with three layers of units
(Cybenko 1988). Again, the output layer uses linear units,
the two hidden layers use sigmoid units, and the number
of units required at each layer is not known in general.
 The proof of this involves showing that any function can
be approximated by a linear combination of many
localized functions that have value 0 everywhere except
for some small region, and then showing that two layers of
sigmoid units are sufficient to produce good local
approximations.
Hypothesis Space Search and Inductive
Bias
 hypothesis space is the n-dimensional Euclidean space of
the n network weights. This hypothesis space is
continuous, in contrast to the hypothesis spaces of
decision tree learning and other methods based on discrete
representations.
 Inductive Bias is depends on the interplay between the
gradient descent search and the way in which the weight
space spans the space of represent able functions.
However, one can roughly characterize it as smooth
interpolation between data points.
Hidden Layer Representations
 One intriguing property of BACKPROPAGATION its
ability to discover useful intermediate representations
at the hidden unit layers inside the network.
Generalization, Overfitting, and Stopping
Criterion
 BACKPROPAGATION is susceptible to overfitting the
training examples at the cost of decreasing generalization
accuracy over other unseen examples.
 BACKPROPAGATION will often be able to create
overly complex decision surfaces that fit noise in the
training data or unrepresentative characteristics of the
particular training sample.
 Several techniques are available to address the overfitting
problem for BACKPROPAGATION learning. One
approach, known as weight decay, is to decrease each
weight by some small factor during each iteration.
 One of the most successful methods for overcoming the
overfitting problem is to simply provide a set of validation
data to the algorithm in addition to the training data.
 The algorithm monitors the error with respect to this
validation set, while using the training set to drive the
gradient descent search.
 The problem of overfitting is most severe for small
training sets.
 In these cases, a k-fold cross-validation approach is
sometimes used, in which cross validation is performed k
different times, each time using a different partitioning of
the data into training and validation sets, and the results
are then averaged.
 In one version of this approach, them available examples
are partitioned into k disjoint subsets, each of size m/k.
 The cross validation procedure is then run k times, each
time using a different one of these subsets as the
validation set and combining the other subsets for the
training set.
EXAMPLES
FACE RECOGNITION SYSTEM
CONTD…
ML_ Unit 2_Part_B
ML_ Unit 2_Part_B
REFERENCE
 https://www.youtube.com/watch?v=YCsZQ_nMDW0
 https://www.youtube.com/watch?v=Kh5milGbyDU
 https://www.slideshare.net/infobuzz/back-
propagation
 https://www.youtube.com/watch?v=GJXKOrqZauk

More Related Content

PPTX
ML_Unit_1_Part_B
PPT
backpropagation in neural networks
PPTX
Counter propagation Network
PPTX
Crisp set
PPTX
ML_Unit_2_Part_A
PDF
Introduction to Recurrent Neural Network
PPT
Perceptron
PDF
Machine Learning: Introduction to Neural Networks
ML_Unit_1_Part_B
backpropagation in neural networks
Counter propagation Network
Crisp set
ML_Unit_2_Part_A
Introduction to Recurrent Neural Network
Perceptron
Machine Learning: Introduction to Neural Networks

What's hot (20)

PPTX
Activation functions
PPTX
Kohonen self organizing maps
PPSX
Perceptron (neural network)
PPT
Support Vector Machines
PDF
Machine learning Lecture 2
PPTX
Evaluating hypothesis
PPTX
Deep Learning With Neural Networks
PPT
Adaline and Madaline.ppt
PDF
Computer Vision: Correlation, Convolution, and Gradient
PPTX
State space search
PPT
02 order of growth
PPTX
Support vector machine
PPT
Neural Networks in Data Mining - “An Overview”
PPTX
04 Multi-layer Feedforward Networks
PPTX
Advanced topics in artificial neural networks
PPTX
Planning in AI(Partial order planning)
PPTX
03 Single layer Perception Classifier
PPTX
Multilayer Perceptron Neural Network MLP
Activation functions
Kohonen self organizing maps
Perceptron (neural network)
Support Vector Machines
Machine learning Lecture 2
Evaluating hypothesis
Deep Learning With Neural Networks
Adaline and Madaline.ppt
Computer Vision: Correlation, Convolution, and Gradient
State space search
02 order of growth
Support vector machine
Neural Networks in Data Mining - “An Overview”
04 Multi-layer Feedforward Networks
Advanced topics in artificial neural networks
Planning in AI(Partial order planning)
03 Single layer Perception Classifier
Multilayer Perceptron Neural Network MLP
Ad

Similar to ML_ Unit 2_Part_B (20)

PPTX
Multilayer & Back propagation algorithm
PDF
Machine Learning 1
PPT
Artificial Neural Network
PPTX
Artificial Neural Networks presentations
PPTX
Unit ii supervised ii
PPTX
CST413 KTU S7 CSE Machine Learning Neural Networks and Support Vector Machine...
PPT
nural network ER. Abhishek k. upadhyay
PPTX
machine learning week 6 iitkgp mateerial
PDF
PPTX
Deep neural networks & computational graphs
PDF
Setting Artificial Neural Networks parameters
PDF
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
PDF
Mlp trainning algorithm
PPTX
10 Backpropagation Algorithm for Neural Networks (1).pptx
PDF
03 neural network
PPTX
Feed forward back propogation algorithm .pptx
PDF
Levenberg marquardt-algorithm-for-karachi-stock-exchange-share-rates-forecast...
PPT
Chapter No. 6: Backpropagation Networks
PDF
Classification by back propagation, multi layered feed forward neural network...
PPTX
linearly separable and therefore a set of weights exist that are consistent ...
Multilayer & Back propagation algorithm
Machine Learning 1
Artificial Neural Network
Artificial Neural Networks presentations
Unit ii supervised ii
CST413 KTU S7 CSE Machine Learning Neural Networks and Support Vector Machine...
nural network ER. Abhishek k. upadhyay
machine learning week 6 iitkgp mateerial
Deep neural networks & computational graphs
Setting Artificial Neural Networks parameters
Training Deep Networks with Backprop (D1L4 Insight@DCU Machine Learning Works...
Mlp trainning algorithm
10 Backpropagation Algorithm for Neural Networks (1).pptx
03 neural network
Feed forward back propogation algorithm .pptx
Levenberg marquardt-algorithm-for-karachi-stock-exchange-share-rates-forecast...
Chapter No. 6: Backpropagation Networks
Classification by back propagation, multi layered feed forward neural network...
linearly separable and therefore a set of weights exist that are consistent ...
Ad

More from Srimatre K (8)

PPTX
ML_Unit_1_Part_C
DOCX
Internet of things unit-1
PPTX
ML_ Unit_1_PART_A
PDF
Formal Languages and Automata Theory unit 5
PDF
Formal Languages and Automata Theory unit 4
PDF
Formal Languages and Automata Theory unit 3
PDF
Formal Languages and Automata Theory unit 2
PDF
Formal Languages and Automata Theory Unit 1
ML_Unit_1_Part_C
Internet of things unit-1
ML_ Unit_1_PART_A
Formal Languages and Automata Theory unit 5
Formal Languages and Automata Theory unit 4
Formal Languages and Automata Theory unit 3
Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory Unit 1

Recently uploaded (20)

PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Literature_Review_methods_ BRACU_MKT426 course material
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
International_Financial_Reporting_Standa.pdf
PPTX
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
PDF
Climate and Adaptation MCQs class 7 from chatgpt
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PDF
Journal of Dental Science - UDMY (2020).pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Hazard Identification & Risk Assessment .pdf
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Literature_Review_methods_ BRACU_MKT426 course material
FORM 1 BIOLOGY MIND MAPS and their schemes
International_Financial_Reporting_Standa.pdf
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
Climate and Adaptation MCQs class 7 from chatgpt
Core Concepts of Personalized Learning and Virtual Learning Environments
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
Journal of Dental Science - UDMY (2020).pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
HVAC Specification 2024 according to central public works department
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Race Reva University – Shaping Future Leaders in Artificial Intelligence
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Introduction to pro and eukaryotes and differences.pptx
Hazard Identification & Risk Assessment .pdf
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf

ML_ Unit 2_Part_B

  • 2. Multilayer Networks  Multilayer networks using gradient descent algorithm.  In Perceptron its discontinuous threshold makes it undifferentiable and hence unsuitable for gradient descent.
  • 3. Differentiable Threshold Unit:  Sigmoid unit is a smoothed, differentiable threshold function.  Like the perceptron, the sigmoid unit first computes a linear combination of its inputs, then applies a threshold to the result. In the case of the sigmoid unit, however, the threshold output is a continuous function of its input.
  • 4.  More precisely, the sigmoid unit computes its output o as Where  is often called the sigmoid function or, alternatively, the logistic function. Its output ranges between 0 and 1, increasing monotonically with its input.  It maps a very large input domain to a small range of outputs, it is often referred to as the squashing function of the unit. The sigmoid function has the useful property that its derivative is easily expressed in terms of its output.  The function tanh is also sometimes used in place  of the sigmoid function
  • 6.  The BACKPROPAGATION ALGORITHM:  The BACKPROPAGATION Algorithm learns the weights for a multilayer network, given a network with a fixed set of units and interconnections.  It employs gradient descent to attempt to minimize the squared error between the network output values and the target values for these outputs.  we are considering networks with multiple output units rather than single units as before, we begin by redefining E to sum the errors over all of the network output units.
  • 7.  where outputs is the set of output units in the network, and tkd and okd are the target and output values associated with the kth output unit and training example d.  One major difference in the case of multilayer networks is that the error surface can have multiple local minima, in contrast to the single-minimum parabolic error surface.  This is the incremental, or stochastic gradient descent version of BACKPROPAGATION.
  • 10.  The algorithm applies to layered feedforward networks containing 2 layers of sigmoid units, with units at each layer connected to all units from the preceding layer.  BACK-PROPAGATION.  Notations:
  • 11.  Constructing a network with the desired number of hidden and output units and initializing all network weights to small random values.  Given this fixed network structure, the main loop of the algorithm then repeatedly iterates over the training examples.  calculates the error of the network output for this example, computes the gradient with respect to the error on this example, then updates all weights in the network.  This gradient descent step is iterated until the network performs acceptably well.
  • 12.  The gradient descent weight-update rule is similar to the delta training rule.  Like the delta rule, it updates each weight in proportion to the learning rate , the input value xji to which the weight is applied, and the error in the output of the unit. The only difference is that the error (t - o) in the delta rule is replaced by a more complex error term.  The weight-update loop in BACKPROPAGATION Algorithm be iterated thousands of times in a typical application.
  • 13. Derivation of the BACKPROPAGATION Rule  Recall that stochastic gradient descent involves iterating through the training examples one at a time, for each training example d descending the gradient of the error Ed with respect to this single example. In other words, for each training example d every weight wji is updated by adding to it  where Ed is the error on training example d, summed over all output units in the network.  Here outputs is the set of output units in the network, tk is the target value of unit k for training example d, and ok is the output of unit k given training example d.
  • 14.  The derivation of the stochastic gradient descent rule is conceptually straightforward, but requires keeping track of a number of subscripts and variables.  We will follow the notation adding a subscript j to denote to the jth unit of the network as follows:  We can use the chain rule to write
  • 16.  We consider two cases in turn: the case where unit j is an output unit for the network, and the case where j is an internal unit.  Case 1: Training Rule for Output Unit Weights. Just as wji can influence the rest of the network only through net,, net, can influence the network only through oj. Therefore, we can invoke the chain rule again to write
  • 18.  We have the stochastic gradient descent rule for output units
  • 19. Case 2: Training Rule for Hidden Unit Weights.  In the case where j is an internal, or hidden unit in the network, the derivation of the training rule for wji must take into account the indirect ways in which wji can influence the network outputs and hence Ed. Notice that netj can influence the network output only through the units in Downstream(j).
  • 21.  A variety of termination conditions can be used to halt the procedure:  One may choose to halt after a fixed number of iterations through the loop, or once the error on the training examples falls below some threshold, or once the error on a separate validation set of examples meets some criterion.  The choice of termination criterion is an important one, because too few iterations can fail to reduce error sufficiently, and too many can lead to overfitting the training data.
  • 22. ADDING MOMENTUM  In the algorithm by making the weight update on the nth iteration depend partially on the update that occurred during the (n - 1)th iteration, as follows:  is the weight update performed during the nth iteration through the main loop of the algorithm, and 0 < < 1 is a constant called the momentum.  The 1st term in the right equation is weight-update rule and 2nd term momentum term.
  • 23.  The effect of is to add momentum that tends to keep the ball rolling in the same direction from one iteration to the next.  This can sometimes have the effect of keeping the ball rolling through small local minima in the error surface, or along flat regions in the surface where the ball would stop if there were no momentum. It also has the effect of gradually increasing the step size of the search in regions where the gradient is unchanging, thereby speeding convergence.
  • 24. LEARNING IN ARBITRARY ACYCLIC NETWORKS  The definition of BACKPROPAGATION applies only to two-layer networks.  In general, the value for a unit r in layer m is computed from the values at the next deeper layer m+1 according to  We really saying here is that this step may be repeated for any number of hidden layers in the network.
  • 25.  It is equally straightforward to generalize the algorithm to any directed acyclic graph, regardless of whether the network units are arranged in uniform layers as we have assumed up to now. In the case that they are not, the rule for calculating for any internal unit is  Where Downstream(r) is the set of units immediately downstream from unit r in the network: that is, all units whose inputs include the output of unit r.
  • 27. REMARKS ON THE BACKPROPAGATION ALGORITHM  Convergence and Local Minima:  BACKPROPAGATION over multilayer networks is only guaranteed to converge toward some local minimum in E and not necessarily to the global minimum error.  When gradient descent falls into a local minimum with respect to one of these weights, it will not necessarily be in a local minimum with respect to the other weights.  A second perspective on local minima can be gained by considering the manner in which network weights evolve as the number of training iterations increases.
  • 28. Common heuristics to attempt to alleviate the problem of local minima include:  Add a momentum term to the weight-update rule. Momentum can sometimes carry the gradient descent procedure through narrow local minima.  Use stochastic gradient descent rather than true gradient descent.  Train multiple networks using the same data, but initializing each network with different random weights.  If the different training efforts lead to different local minima, then the network with the best performance over a separate validation data set can be selected.
  • 29. Representational Power of FeedForward Networks  3 general rules of FeedForward network.  Boolean functions. Every Boolean function can be represented exactly by some network with two layers of units, although the number of hidden units required grows exponentially in the worst case with the number of network inputs.  Continuous functions. Every bounded continuous function can be approximated with arbitrarily small error (under a finite norm) by a network with two layers of units
  • 30.  Arbitrary functions. Any function can be approximated to arbitrary accuracy by a network with three layers of units (Cybenko 1988). Again, the output layer uses linear units, the two hidden layers use sigmoid units, and the number of units required at each layer is not known in general.  The proof of this involves showing that any function can be approximated by a linear combination of many localized functions that have value 0 everywhere except for some small region, and then showing that two layers of sigmoid units are sufficient to produce good local approximations.
  • 31. Hypothesis Space Search and Inductive Bias  hypothesis space is the n-dimensional Euclidean space of the n network weights. This hypothesis space is continuous, in contrast to the hypothesis spaces of decision tree learning and other methods based on discrete representations.  Inductive Bias is depends on the interplay between the gradient descent search and the way in which the weight space spans the space of represent able functions. However, one can roughly characterize it as smooth interpolation between data points.
  • 32. Hidden Layer Representations  One intriguing property of BACKPROPAGATION its ability to discover useful intermediate representations at the hidden unit layers inside the network.
  • 33. Generalization, Overfitting, and Stopping Criterion  BACKPROPAGATION is susceptible to overfitting the training examples at the cost of decreasing generalization accuracy over other unseen examples.  BACKPROPAGATION will often be able to create overly complex decision surfaces that fit noise in the training data or unrepresentative characteristics of the particular training sample.  Several techniques are available to address the overfitting problem for BACKPROPAGATION learning. One approach, known as weight decay, is to decrease each weight by some small factor during each iteration.
  • 34.  One of the most successful methods for overcoming the overfitting problem is to simply provide a set of validation data to the algorithm in addition to the training data.  The algorithm monitors the error with respect to this validation set, while using the training set to drive the gradient descent search.  The problem of overfitting is most severe for small training sets.
  • 35.  In these cases, a k-fold cross-validation approach is sometimes used, in which cross validation is performed k different times, each time using a different partitioning of the data into training and validation sets, and the results are then averaged.  In one version of this approach, them available examples are partitioned into k disjoint subsets, each of size m/k.  The cross validation procedure is then run k times, each time using a different one of these subsets as the validation set and combining the other subsets for the training set.
  • 41. REFERENCE  https://www.youtube.com/watch?v=YCsZQ_nMDW0  https://www.youtube.com/watch?v=Kh5milGbyDU  https://www.slideshare.net/infobuzz/back- propagation  https://www.youtube.com/watch?v=GJXKOrqZauk