I have found that the LIBSVM and LIBLINEAR packages are easier to work
with as the authors provide pre-compiled files. Here is a link to a
previous thread that includes the corresponding train_ and test_
functions for both. The thread also has a link to the LIBLINEAR and
LIBSVM websites.
http://groups.google.com/group/mvpa-toolbox/browse_thread/thread/893f4922013476e4/f8ffe99a30debc44?#f8ffe99a30debc44
One small change to the code in that the variable TRAINPATS should be
converted to a double before converting the a sparse matrix in the
train functions (TRAIN_LIBSVM and TRAIN_LIBLINEAR). E.g.,
[scratch.model] =
train(trainlabs',sparse(double(trainpats))',args.training_options);
This bug fix was sent to me by Nicolas Schuck, who was getting errors
without converting to double precision.
I will work with Garret to get these functions in the main code for
future releases/versions.
Ryan
On Apr 26, 7:20 pm, MS Al-Rawi <
rawi...@yahoo.com> wrote:
> Maybe you could try svmtrain & svmclassify that come with matlab's
> bioinformatics toolbox (if you have this toolbox installed)
http://www.mathworks.com/help/toolbox/bioinfo/ref/svmclassify.html