Docsity

Machine Intelligence I: Homework 4 - Neural Network Calculations - Prof. Amauri Antonio Ar, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EEL-5840 Homework
Fall 2008 Dr. Arroyo
EEL5840: Machine Intelligence I: Homework #4
(Due Tuesday September 23, 2008)
Problem 2
Consider a one-hidden layer feedforward neural network, fully connected between layers, with 2 inputs, 2 hidden
units in the first layer, and 1 output. Assume sigmoidal activation functions .
a. How many total independent weights are contained in this neural network? Show Work! No Work, No
Credit.
Answer: ____ independent weights.
pf3

Partial preview of the text

Download Machine Intelligence I: Homework 4 - Neural Network Calculations - Prof. Amauri Antonio Ar and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EEL-5840 Homework Fall 2008 Dr. Arroyo

EEL5840: Machine Intelligence I: Homework

(Due Tuesday September 23, 2008)

Problem 2 Consider a one-hidden layer feedforward neural network, fully connected between layers, with 2 inputs, 2 hidden units in the first layer, and 1 output. Assume sigmoidal activation functions.

a. How many total independent weights are contained in this neural network? Show Work! No Work, No Credit.

Answer: ____ independent weights.

b. Without any local variable s, how many additions, multiplications, and function evaluations (,') are required to compute the output of the neural network in terms of the inputs and the weights of the neural network? Show Work! No Work, No Credit.

Additions:___________ Multiplications:___________ Function Evaluations:__________

c. Using the backpropagation algorithm, how much total computation is required [additions, multiplications and function evaluations (,')] to compute the error derivatives with respect to all the weights in the neural network, given a single training pattern <x 1 ,x 2 ,y>and the error measure E=(y-z) 2? Show Work! No Work, No Credit.

Forward Pass:

Additions:___________ Multiplications:___________ Function Evaluations:__________

Backward Pass: