4 ms·
Can you give a kernel function that would let you fit a circle with variable position and radius? The examples always use a fixed position.
by jules 17y ago
Can you give a kernel function that would let you fit a circle with variable position and radius? The examples always use a fixed position.
- ajj 17y agoThe Radial Basis Function kernel K(x,y) = exp(-(x-y)^2/gamma) is a very general kernel function that can get you this. Finally, whether you actually get such a classifier depends on your data, and as I had mentioned setting the parameters (like gamma) is not very straightforward. Typically you may have to try with various values and see what works for your data. Train your SVM (or any kernel method) and see what classifier it gives (run the classifier on data points near the boundary you want to detect to see where the exact boundary lies). This would only be to see how the classification function looks like.