The simple implementation of CNN (convolutional neural network).
For building the project, you need Eigen (Version 3.0 or higher).
# Setup Eigen:
# (The version here is 3.2.7, but you can specify any versions higher than 3.0.0)
$ wget -O eigen-3.2.7.zip http://bitbucket.org/eigen/eigen/get/3.2.7.zip
$ unzip -qq eigen-3.2.7.zip -d $YOUR_EIGEN_DIR
# Build educnn
$ git clone https://github.com/tatsy/educnn.git
$ mkdir build && cd build
$ cmake -D EIGEN3_INCLUDE_DIR=$YOUR_EIGEN_DIR ..
# Run ordinary neural network (2 fully-connected layers)
$ ./test_neural
# Run LeCun Net
# Convolution -> Maxpooling -> Convolution -> Maxpooling -> FC -> FC
$ ./test_lecun
The author sincerely appropriates for the following websites with fruitful information about deep learning and convolutional neural network.
MIT License 2015 (c) Tatsuya Yatagawa (tatsy)