Skip to content

lanpa/svm-rank-matlab-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

021fd62 · Mar 29, 2016

History

9 Commits
Mar 24, 2016
Mar 25, 2016
Mar 24, 2016
Mar 24, 2016
Mar 28, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 24, 2016
Mar 24, 2016
Mar 24, 2016
Mar 24, 2016
Mar 29, 2016

Repository files navigation

usage:

parameterString = '-c 1 -v 0';
filename_model = 'outputmodel.dat';

svm_rank_learn(label, qid, feature, parameterString,  filename_model);
AvgSwappedpairsPercent = svm_rank_classify(label, qid, feature, filename_model);

parameterString: the parameters described in the refenence below.

label: stores the target value for each example. (double precision)

qid: indicates the grouping information. (double precision)

feature: a single precision matrix, each column represents a feature vector.

Please check wrapperTest.m for example.

tested environment

ubuntu 14.04/matlab R2014b

OSX 10.11/matlab R2015a

refenence:

https://www.cs.cornell.edu/people/tj/svm_light/svm_rank.html

About

matlab wrapper for SVM-rank

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published