Beginning Neural Networks [Assignment 6] Paolo Gabriel
ECE 228, Spring 2018
Beginning Neural Networks [Assignment 6] Paolo Gabriel ECE 228, - - PowerPoint PPT Presentation
Beginning Neural Networks [Assignment 6] Paolo Gabriel ECE 228, Spring 2018 Objectives Data description Introduce a simple neural network model Implement getGradient() for sum-of-squares error function Optimize weights of NN
ECE 228, Spring 2018
activity
Input Target x_1 x_2 x_3 x_4 x_5 x_6 … … … … … … x_(n-5) x_(n-4) x_(n-3) x_(n-2) x_(n-1) x_n
x1 x2 x3 x4 x5 Input Hidden Output z1 z2 z3 z4 z5 z6 z7 z8 w(1) y1 w(2) 1 1 bias bias Given
Goal
based on previous 5 ordered observations
{Prediction error} Noise control
x1 x2 x3 x4 x5 1 z1 z2 z3 z4 z5 z6 z7 z8 1 y1 bias bias Input Hidden Output w(1) w(2) Goal: calculate estimated output using current network weights
x1 x2 x3 x4 x5 1 z1 z2 z3 z4 z5 z6 z7 z8 1 y1 bias bias Input Hidden Output w(1) w(2) Goal: calculate gradient of error function based on estimates from current network weights
Input -> hidden Hidden ->
“ “
Error function x6 True value
Input -> hidden Hidden ->
Single step Typical stopping criteria can be based on number of iterations or change in error Multiple steps
Step size, η
iteration range, initialization, network size and shape, error/optimization algorithms, hidden unit functions