Friday, January 01, 2010

Steps to install Shogun

Shogun's a huge collection of machine learning tools implemented in C++ and wrapped for MATLAB use. With help of Chris Hinrichs I started using the package for my work in DTI classification. They keep coming up with new version every so often and I needed a lookup place for the set of steps to perform. It is linux based software and it's not as simple as double clicking a setup.exe

So here's the steps assuming you have limited access on the machines:
  1. Download the latest release from (As of today the latest version is 0.9.1)
  2. cd download_dir/src
  3. ./configure --interfaces=libshogun,libshogunui,matlab --destdir=install_dir --prefix=local -enable-glpk
  4. make
  5. make install
  6. Edit .bash_profile in your $HOME directory to add the following line export LD_LIBRARY_PATH=/lib:install_dirlocal/lib:$LD_LIBRARY_PATH
  7. In your MATLAB code: addpath('download_dir/src/matlab')

Look into download_dir/examples for examples.

Happy new year

Today marks the beginning of 2010 and a new 10
Approaching the teen years of 21st century
Makes me both happy and wary
Happy because we seem to be on the road to recovery
Wary because we can't be complacent too early
For the dynamics of our entropy are too hairy

On a personal level I hope
Everyone can at least glance
At romance
For an awesome blissful trance
That can fuel
One to reach your crowning jewel

The journey of romance
Might not all be rosy
Well what else worthy
Can one get without being risky?

At any rate
Here's the poem I wrote
For a new year
Summarizing my newest experiences in the previous year