/fully-connected-highway-network

The imeplementation of Fully Connected Highway network using TensorFlow. The imeplementation is based on this paper: https://arxiv.org/pdf/1505.00387.pdf

Primary LanguageJupyter Notebook

Fully Connected Highway network - Tensorflow

The implementation of this network is based on the Highway networks paper.

The Highway Network introduces 2 gates in the normal network layer. One gate is called "Transform" gate. The Transform gate is there to control how much information is going to put through from the activation of that layer. Second gate is called the "Carry" gate. It is just 1 - Transform gate. The Carry gate controls how much of UNMODIFIED informations we pass through the network.

By combining these two gates with normal formula for the layer f(xW + b) we get the next formula:

Install

    Python version

         - Python version used in this project: 3.5+

    Dependencies

Code

The code for this project is inside fc_highway_network.ipynb.

How to run

To run this project execute one of these two lines in your terminal/cmd:

ipython notebook fc_highway_network.ipynb

or

jupyter notebook fc_highway_network.ipynb

Read more about Highway network

Highway networks paper

HIGHWAY AND RESIDUAL NETWORKS LEARN UNROLLED ITERATIVE ESTIMATION

License

MIT License

Copyright (c) 2017 Luka Anicin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.