/fortran-NeuralNetwork

Simple implementation of a neural network, implemented in fortran.

Primary LanguageFortranGNU General Public License v3.0GPL-3.0

fortran-NeuralNetwork

This repository contains a simple straight forward implementation of a neural network in fortran. An example script on how to use the code is provided in which the neural network is trained using the extended Kalman filter method.

Compiling the code

To compile the example you need a fortran compiler as well as an installation of Blas/LAPACK. Using CMake the code can be compiled with the following commands. Two CMake flags are provided, that allow to compile with or without debug flags and with the intel or gnu compiler.

mkdir build
cd build
cmake -DDEBUG=ON -DINTEL=OFF .. # compile with gfortran and debug flags
make