I would like to use the chi2 kernel instead of the linear kernel in vlfeat.
Here is an example of using chi2.
"...
% create a structure with kernel map parameters
hom.kernel = 'KChi2';
hom.order = 2;
% create the dataset structure
dataset = vl_svmdataset(X, 'homkermap', hom);
% learn the SVM with online kernel map expansion using the dataset structure
[w b info] = vl_svmtrain(dataset, y, lambda, 'MaxNumIterations', maxIter)..."
What exactly happens here? What does hom.order do?
What does vl_svmdataset do? Also, there is a function called vl_homkermap(). What does it do?
Let's say I got a matrix m and I would like to use svm on it with the chi2 kernel.
How do I do that?