I am looking for a library for experimenting with Deep Belief Networks, a form of Neural Network.

  • Must be Open Source. (I need to be able to check what it is doing, and potentially customise it.)
  • Preferably would not support GPU. (As this makes the source code complex and hard to read/edit)
  • In order of preference should be in/for C, C++, Fortran, Matlab, Python
  • This may seem really general, but there are very very few Deep Belief Network Libraries Commented Feb 25, 2014 at 3:21

2 Answers 2


I am not familiar with Deep Belief Networks, but it looks like the word has evolved a little since this question was asked, and I found three alternatives are more or less relevant answers:

See Looking for a convenient way to call Java from C++ for bridging the gap from C++ to Java.

  • Have you used these? DeepLearnToolBox is practically unmaintained. I've used it a lot and have a had a pullrequest there waiting for comment for over 3 months. It works, I guess. Does technically meet the requirements. Commented Jun 16, 2015 at 0:20
  • Nope, but as no answers had been given I thought to throw some out there, to give you some options, if you hadn't located them so far.
    – holroy
    Commented Jun 16, 2015 at 5:02
  • I also use DeepLearnToolbox and can confirm Oxinabox's comment (I also have an outstanding PR, and have several others I'd like to submit). In it's defence as an answer to OP, I have found the Matlab code very easy to understand and modify, which is one of the requirements. Commented Jul 16, 2015 at 6:24

An implementation of Deep Belief Networks can be found in the nolearn library. Also in this list you can find two one more DBN implementations: DeepLearnToolBox (MatLab) and deepnet (Python). Another one also in here. Check which libraries are recently updated and how to use (if possible) without GPUs.

  • 1
    DeepLearnToolBox is deprecated. Please do not use it. (I say this as someone who has worked with it, and extended its DBN implementation) Commented Jun 28, 2017 at 2:57
  • @Lyndon White : Thank you, I edited my answer appropriately.
    – pebox11
    Commented Jun 28, 2017 at 3:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.