In this work, we intend to approximate a feedforward Neural Network using the Bernstein coefficients
Open your terminal, navigate to your desired directory and write:
git clone https://github.com/PippiaEleonora/NNwithBernstein.git
- Extract the ZIP file (or clone the git repository) somewhere you can easily reach it.
- to clone open your terminal, navigate to your desired directory and write:
git clone https://github.com/PippiaEleonora/NNwithBernstein.git
- to clone open your terminal, navigate to your desired directory and write:
- Add the
src/
folder to your path in MATLAB: e.g.- using the "Set Path" dialog in MATLAB, or
- by running the
startup
script.startup
The code is written in MATLAB and it makes use of Symbolic Toolbox. It uses also Multi-Parametric Toolbox 3. MPT3 wiki
The folder src/polytopes_2018_10_04_v1 contains the functions of Matt J., please visit his page on FileExchange
Run Run_NN_approx
to see an example of usage.
Run_NN_approximation