Simple Highway Network example from scratch.
Version 1.0.1 (4.87 KB) by
Lyes Demri
This is a very basic Highway Network example comparing its performances with a Feedforward Neural Network.
This program implements the highway network described in [Srivastava 2015] . It compares the performances of a highway network with that of a feedforward neural network on a similar problem which simply consists of distinguishing between 3 data points. It confirms the fact that highway networks continue to have good performances even for higher numbers of hidden layers, as shown in the following image.
Every step of the gradient calculation is provided in the grad_highway_layer. function
Cite As
Lyes Demri (2024). Simple Highway Network example from scratch. (https://www.mathworks.com/matlabcentral/fileexchange/122362-simple-highway-network-example-from-scratch), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.