Git Product home page Git Product logo

nnet's Introduction

nnet

High performance Artificial Neural Network library.

Dependencies:

  • FFTW3

As you may have guessed from the dependency on FFTW, this library uses FFT convolutions by default.

Building

We use the CMake build system. Here is an example of how you might build the library:

mkdir build && cd build
cmake ..
make

Then to install, run this as root:

make install

If your CPU has access to AVX instructions you should use the -DENABLE_AVX=ON flag when running cmake.

Similarly, if your CPU has access to FMA instructions the -DENABLE_FMA=ON flag should be used as well.

Example

Included is an example convolutional network for classifying MNIST. The network is based on one described in [1]. The program expects five filenames to be passed as command line arguments:

mnistcnn <train-images> <test-images> <train-labels> <test-labels> <output_model>

The first four files are the input MNIST data files from Yann LeCun's website [2]. The last filename is where the trained model is stored.

[1] Scherer, D., Müller, A., & Behnke, S. (2010). Evaluation of pooling operations in convolutional architectures for object recognition. In Artificial Neural Networks–ICANN 2010 (pp. 92-101). Springer Berlin Heidelberg.

[2] http://yann.lecun.com/exdb/mnist/

Reference

Please cite the following reference in papers using this library:

Gouk, H. G., & Blake, A. M. (2014, November). Fast Sliding Window Classification with Convolutional Neural Networks. In Proceedings of the 29th International Conference on Image and Vision Computing New Zealand (p. 114). ACM.

nnet's People

Contributors

henrygouk avatar dazhenseu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.