Python API for libdeep
2018-06-04 12:49:15 +01:00
examples Pruning cycle function 2018-03-21 13:35:42 +00:00
img Update graph image 2017-09-25 12:44:59 +01:00
man Change domain from github 2018-06-04 12:49:15 +01:00
src Pruning cycle function 2018-03-21 13:35:42 +00:00
LICENSE License 2015-02-05 21:02:38 +00:00
Makefile Improve makefile for reproducibility 2017-08-30 19:08:47 +01:00
README.md Change domain from github 2018-06-04 12:49:15 +01:00

libdeep-python

libdeep-python adds a Python API to the libdeep deep learning library, which is written in C. This allows you to obtain the raw processing speed of native C code while also having the convenience of being able to develop your application in Python. After a system has been trained you can export it as a standalone C commandline program which takes the input values as arguments and outputs the results to stdout.

Installation

To install dependencies on a Debian based system:

sudo apt-get install build-essential doxygen python3-dev

Or on an Arch based system:

sudo pacman -S gcc doxygen

Then install libdeep:

git clone https://code.freedombone.net/bashrc/libdeep
cd libdeep
make
sudo make install

Finally install the python interface:

git clone https://code.freedombone.net/bashrc/libdeep-python
cd libdeep-python
make
sudo make install

Usage

For example use cases see the examples directory and also the manpage.

man libdeep-python

Try an Example

To check that the system is working you can try the simplest example, which is learning the XOR function.

cd examples/xor
./xor.py