Error_surface_of_a_linear_neuron_for_a_single_training_case.png
Summary
Description Error surface of a linear neuron for a single training case.png |
English:
On the x-axis is the output, y, of a linear neuron and on the y-axis is the error, E, of the output compared to a target output of zero. The error is calculated by squaring the difference between the actual and target output. This demonstrates that training of a neural network can be thought of as an optimization problem where the correct output involves finding the minima of the parabola.
|
Date | |
Source | Created using MatLab |
Author | AI456 |
Source code
function [output] = Plot_Error_Surface(x, expected)
% Plots the error surface for a single output unit with the given
% expected output.
hold all
for e = expected
y = (e - x).^2;
plot(x, y)
grid on
title ('Error Surface for a Single Training Case');
xlabel('y')
ylabel('E')
end
hold off
Plot_Error_Surface(-5:0.5:5, 0)
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License , Version 1.2 or any later version published by the Free Software Foundation ; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License . http://www.gnu.org/copyleft/fdl.html GFDL GNU Free Documentation License true true |
This file is licensed under the
Creative Commons
Attribution-Share Alike 3.0 Unported
license.
-
You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
-
Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.