
Download ManOpt:http://www.manopt.org/

Download LibSVM:http://www.csie.ntu.edu.tw/~cjlin/libsvm/

create folder stochasticgradientdescent and place stochasticgradientdescent.m into ManOpt solvers folder

replace stiefel.m from ManOpt/manifolds/stiefel with our stiefel.m (here we add the exponetial map and iid random points which was not implemented before)

start Matlab

initialize ManOpt by executing importmanopt.m from the manopt folder

add path to folder containing: gauskernel.m, Grad_KernelMeanReg.m, Obj_KernelMeanReg.m

add path to libsvm/matlab

execute example.m
