Installation

Currently SHOGUN has been confirmed to be fully functional on PowerPC, i386 and AMD64 Linux (tested on debian/ubuntu and gentoo). We also managed to compile SHOGUN on MacOSX and via cygwin on WIN32 platforms. However some manual tweakings of configuration files might be necessary.

From a Package

SHOGUN is currently pre-packaged for debian (see http://www.debian.org)

Depending on the interface you want to use install the package

shogun-octave - for the static octave interface
shogun-python - for the static python interface
shogun-python-modular - for the modular python interface
shogun-r - for the r interface
shogun-readline - for the command-line interface.

Installing SHOGUN from Source

Download SHOGUN from http://www.shogun-toolbox.org , aswell as its requirements.

Requirements

SHOGUN requires the standard linux utils like bash, grep, test, sed, cut, ldd, uname gcc g++ and cat python (debian package: python2.4 or python2.5) for the ./configure to work.

Optionally you will need atlas and lapack (debian packages lapack3-dev, atlas3-headers atlas3-base-dev or atlas3-altivec-dev atlas3-sse2-dev) installed. Note that atlas/lapack is only supported under linux (high performance computing should be done under linux only anyway). In case atlas/lapack is unavailable, don't worry most of shogun will work without, though slightly slower versions are used. To enable Multiple Kernel Learning with CPLEX(tm) just make sure cplex can be found in the PATH. If it is not found shogun will resort to GLPK (if version at least 4.29 is found) for 1-norm MKL, p-norm MKL with p>1 will work nonetheless.

Compiling SHOGUN

On most platforms (Linux,MacOSX,cygwin) it is sufficient to issue

./configure
make
sudo make install

In case you just want to compile for a single interfaces you can use

./configure --interfaces=libshogun,libshogunui,<interface>
make
sudo make install

where interface is one of the following

However, just running

./configure

will autodetect and configure for the available interfaces.

Call

./configure --help 

to get a list of additional options.

If this does not work for you, consult the INSTALL file for platform specific build instructions.


SHOGUN Machine Learning Toolbox - Documentation