GithubHelp home page GithubHelp logo

nnbox's Introduction

NNBox

NNBox is a Matlab © toolbox for neural networks. Many other toolboxes are already available for matlab and may either offer more models, a higher levels of support, better optimization, or simply a bigger user community... This toolbox tries to focus on different objectives:

  • Providing very clear and simple implementations of some neural networks models and architectures.
  • Providing a simple template to implement new models rapidly
  • Providing a flexible interface where building blocks can be arranged together easily.

In particular, this library provides support for Restricted Boltzmann Machines (RBM), Convolutional Neural Networks (CNN), simple perceptrons models. It allows to arrange these models in parallel, as stacked multiple layers, or even in a Siamese network architecture.

This library does not focus on completeness though, because attempting to do so rarely gives satisfying results. Instead it tries to provide simple and flexible architectural fundations to help you implement your own model quickly.

For your information, here is a list of other existing libraries:

Requirements

As far as I can tell, any version of matlab above R2011a should work, R2014a is known to work. Octave is not supported because classes are not yet fully supported.

Installation

Just add nnbox subfolders to your path:

addpath('nnbox/utils:nnbox/networks:nnbox/costfun:nnbox/distances');

CNN implementation requires the MatConvNet library as a backend, follow installation instructions and add the matlab bindings to the path.

Examples

X = [0  1  0  1;
     0  0  1  1];
Y = [0 .5 .5  1];
net = Perceptron(2, 1, struct('lRate', 0.5));
trainOpts = struct('nIter', 100, 'displayEvery', 10);
train(net, SquareCost(), X, Y, trainOpts);

Documentation

Refer to DOCUMENTATION.md

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.