Up: CSS485 Home Page
University of Washington, Bothell
CSS 485: Introduction to Artificial Neural Networks
Fall 2002
Homework Assignment 3: Dynamics and Optimization
Assigned: Wednesday, October 30, 2002
Due: Wednesday, November 6, 2002 (start of class)
- Do exercise 5.3(b), using MATLAB (or some other plotting
software of your choice, as long as it will do a reasonable job) to
produce the plot.
- Write a program in the programming language of your choice to
find the minimum of a function using gradient descent. The function
will be written (as a function) in the same programming language, too,
and compiled and linked in if you are using a compiled language (in
other words, you don't need to input and parse algebraic
expressions). Your program should output its progress during
execution, with columns being: iteration number,
,
, ...,
,
. Include a printout of your program in
your report.
Use your program to find the minima of the following functions:
For each, experiment with
to come up with a value that will
cause reasonably rapid convergence while still being stable. In your
report, for each function include:
- The value of
you used.
- A contour plot of the function, with trajectory points
superimposed (points connected by lines showing the trajectory) for
a representative run of your program.
- An answer to questions, ``Does the choice of initial search
location affect the minimum found? Why or why not?''
- Implement the linear neural network error function (objective
function) found on p. 118 of the textbook for use with your program
above. Use it and your program to find the best weights for the
following input/output pairs (training set) for a two-input,
one-output neural network:
Up: CSS485 Home Page
Prof. Michael Stiber
2002-10-30