Coder Social home page Coder Social logo

alexeyche / dnn Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 2.0 39.29 MB

Library of Dynamic Neural Networks for time series related tasks

License: GNU General Public License v2.0

Python 4.38% CMake 2.16% R 6.22% Shell 2.09% M4 0.14% C++ 77.72% C 5.27% Objective-C 0.36% Protocol Buffer 1.65%

dnn's Introduction

DNN lib and tools

Library of Dynamic Neural Networks for time series related tasks.

Main library consist of multithreaded simulator of recurrent spiking (impulse) neural networks dynamics written in C++. It contains variety components which can be connected with each other in different combinations.

Dependencies and submodules

To install DNN on linux you need to satisfy dependencies (tested on Ubuntu 16.04.1 LTS):

  • clang v3.8 or higher (use sudo update-alternatives --config cc and sudo update-alternatives --config c++ to set clang as default compiler for C and C++)
  • cmake v3.5.1 or higher
  • protobuf-compiler v2.6.1
  • libprotobuf-dev
  • r-base v3.2.1 or higher (for plots and analytics)

Also you need to install some python packages:

  • protobuf v2.6.1 (check version with protobuf-compiler)
  • numpy

To use R API and scripts you need to install these R packages:

  • Rcpp
  • zoo
  • lattice
  • kernlab

DNN uses ground as submodule.

Installation

Create two directories: one to keep the source code, and one to buil DNN. Also you need another directory to work with DNN (your working directory).

Clone repositories into source directory:

$ cd [path_to_source_directory]
$ git clone --recursive https://github.com/alexeyche/dnn

Run cmake and make commands in building directory:

$ cmake -DCMAKE_INSTALL_PREFIX=[path_to_working_directory] [path_to_source_directory]/dnn
$ make install

Next part can be different for different systems. Add these strings in your ~/.profile file:

export DNN_HOME="[path_to_working_directory]"
export LD_LIBRARY_PATH="$DNN_HOME/lib:$LD_LIBRARY_PATH"

Please, check this environment variables before go to last step (e. g. echo $LD_LIBRARY_PATH)!

Last step. Install R package Rdnn from source directory:

$ cd [path_to_source_directory]/dnn/R
$ ./build.sh

Done.

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.