How to build a correct spline kernel for svm
1 次查看(过去 30 天)
显示 更早的评论
Hi everybody,
I have a question regarding the implementation of kernels. I want to use a spline kernel which is not in the toolbox. the code is relatively easy.
z = 1 + u.*v + (1/2)*u.*v.*min(u,v) - (1/6)*(min(u,v)).^3;
k = prod(z);
but there is always an error because of the matrix dimensions. how can I solve it?
Thanks in advance
Daniel
0 个评论
回答(1 个)
Ilya
2013-5-11
Check out this thread and let us know if it helps: http://www.mathworks.com/matlabcentral/answers/57232-how-to-use-svmtrain-with-a-custom-kernel-in-matlab
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!