1 / 20

EE459 Neural Networks The Structure

EE459 Neural Networks The Structure. Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University. The Structure of Neurones. A neurone has a cell body, a branching i nput structure (the dendr I te) and a branching o utput structure (th ax O n).

caradoc
Télécharger la présentation

EE459 Neural Networks The Structure

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE459Neural NetworksThe Structure Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University

  2. The Structure of Neurones A neurone has a cell body, a branching input structure (the dendrIte) and a branching output structure (th axOn) • Axons connect to dendrites via synapses. • Electro-chemical signals are propagated from the dendritic input, through the cell body, and down the axon to other neurons

  3. The Structure of Neurones • A neurone only fires if its input signal exceeds a certain amount (the threshold) in a short time period. • Synapses vary in strength • Good connections allowing a large signal • Slight connections allow only a weak signal. • Synapses can be either excitatory or inhibitory.

  4. +1 ao wj0 wj1 a1 wj2 a2 Sj f (Sj) Xj wjn an A Classic Artifical Neuron(1)

  5. A Classic Artifical Neuron(2) All neurons contain an activation function which determines whether the signal is strong enough to produce an output. Shows several functions that could be used as an activation function.

  6. Learning • When the output is calculated, the desire output is then given to the program to modify the weights. • After modifications are done, the same inputs given will produce the outputs desired. Formula : Weight N = Weight N + learning rate * (DesireOutput-Actual Output) * Input N * Weight N

  7. Tractable Architectures • Feedforward Neural Networks • Connections in one direction only • Partial biological justification • Complex models with constraints (Hopfield and ART). • Feedback loops included • Complex behaviour, limited by constraining architecture

  8. Output Values Input Signals (External Stimuli) Fig. 1: Multilayer Perceptron Output Layer Adjustable Weights Input Layer

  9. Types of Layer • The input layer. • Introduces input values into the network. • No activation function or other processing. • The hidden layer(s). • Perform classification of features • Two hidden layers are sufficient to solve any problem • Features imply more layers may be better

  10. Types of Layer (continued) • The output layer. • Functionally just like the hidden layers • Outputs are passed on to the world outside the neural network.

  11. y1 w1j w2j y2 w3j O y3 yi wij A Simple Model of a Neuron • Each neuron has a threshold value • Each neuron has weighted inputs from other neurons • The input signals form a weighted sum • If the activation level exceeds the threshold, the neuron “fires”

  12. y1 w1j w2j y2 w3j f(x) O y3 yi wij An Artificial Neuron • Each hidden or output neuron has weighted input connections from each of the units in the preceding layer. • The unit performs a weighted sum of its inputs, and subtracts its threshold value, to give its activation level. • Activation level is passed through a sigmoid activation function to determine output.

  13. Mathematical Definition • Number all the neurons from 1 up to N • The output of the j'th neuron is oj • The threshold of the j'th neuron is qj • The weight of the connection from unit i to unit j is wij • The activation of the j'th unit is aj • The activation function is written as f(x)

  14. Mathematical Definition • Since the activation aj is given by the sum of the weighted inputs minus the threshold, we can write: aj= S( wijoi ) - qj i oj = f(aj )

  15. Activation functions • Transforms neuron’s input into output. • Features of activation functions: • A squashing effect is required • Prevents accelerating growth of activation levels through the network. • Simple and easy to calculate • Monotonically non-decreasing • order-preserving

  16. 1 f(x) = 1 + e -ax Standard activation functions • The hard-limiting threshold function • Corresponds to the biological paradigm • either fires or not • Sigmoid functions ('S'-shaped curves) • The logistic function • The hyperbolic tangent (symmetrical) • Both functions have a simple differential • Only the shape is important

  17. Training Algorithms • Adjust neural network weights to map inputs to outputs. • Use a set of sample patterns where the desired output (given the inputs presented) is known. • The purpose is to learn to generalize • Recognize features which are common to good and bad exemplars

  18. Back-Propagation • A training procedure which allows multi-layer feedforward Neural Networks to be trained; • Can theoretically perform “any” input-output mapping; • Can learn to solve linearly inseparable problems.

  19. Activation functions and training • For feedforward networks: • A continuous function can be differentiated allowing gradient-descent. • Back-propagation is an example of a gradient-descent technique. • Reason for prevalence of sigmoid

  20. Training versus Analysis • Understanding how the network is doing what it does • Predicting behaviour under novel conditions

More Related