2009년 10월 8일 목요일

Swim class


I just starts to learn. Well yeah, I don't know how to swim :)
Today was the first class, and... wow.. I'm full now... drank too much water..

update #1. now I can swim from one side to other side without breathing and with only kicking.. well.. because I do not know how to stroke or how to breath T_T..
Anyway, it's still hard for me to finish one-way trip :)

Support Vector Machine

There are several python packages which provide SVM.

LIBSVM, MLPY, PyML, SVM^python

LIBSVM has been included in a lot of other packages to provide SVM. It looks like very powerful library for SVM. However, it is not 'perfectly' and 'clearly' wrapped with python and doesn't provide other classification method except SVM.

PyML seems simple and easy to use, but looks like it is in its beginning stage of development.

So far, MLPY looks most 'useful' package for python users. It provides multiple kernels for SVM and also provides KNN or other classification function. Moreover, it has a function which can calculate accuracy of prediction. Not bad at all. (Actually, LIBSVM has almost identical SVM modules too.)

But, I didn't compare their performance (especially for LIBSVM and MLPY) or didn't do real test yet. I'll update the results soon.

You can download all the packages above from internet. Do Google :)

P.S The above image is from Google image.

update #1: Shit... MLPY looks like not supporting multiclass-classification for SVM..

update #2. I was wrong. PyML has almost all function for SVM. It uses LIBSVM for SVM and also provide KNN function. It just doesn't have a good tutorial document :)

update #3. well.. I'm going to use LIBSVM even though it doesn't provide good python wrapper. I'm implementing a python routine for parameter set search and modified version of cross_validation of LIBSVM.