Simple Highway Network example from scratch.

This is a very basic Highway Network example comparing its performances with a Feedforward Neural Network.

You are now following this Submission

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 (2026). Simple Highway Network example from scratch. (https://www.mathworks.com/matlabcentral/fileexchange/122362-simple-highway-network-example-from-scratch), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Changed the metric with which to judge performance to MSE which makes a lot more sense.

1.0.0