Tuesday, December 23, 2008

Swig is just allsum!

Today, it only took me 2 hrs to integrate load and train function to my new flayers python interface. I am just impress that it is working so easily. I am simply convince that swig guys have done an allsum work! Thanks guys!

svn co https://mlboost.svn.sourceforge.net/svnroot/mlboost/flayers flayers
cd flayers

sudo python setup.py build_ext --inplace
ipython
In [1]: import flayers
In [2]: trainer = flayers.loadTrainer('test.save')
In [3]: trainer.train(10)

python, matplotlib, ipython, scipy and now swig are making my life much easier.

1 comment:

  1. I try it on Fedora and I had to do this prior to make it working:
    sudo easy_install swig
    sudo yum install gcc-c++


    setuptools import find_packages and setup_requires doesn't work with Fedora & ubunto....I have to find something better.

    ReplyDelete