I am using sklearn.svm.SVC (kernel='rbf') for the classification of an image data, which is doing pretty well job. Linear SVM classifies the data by putting a hyper plane between the two classes. In the case of rbf SVM the plane would be in infinite dimension. For any testing point we can use predict to check which it belongs to. In linear case we can manually get the prediction by getting the equation of the hyper plane. How can we do this in rbf SVM case. How exactly predict works in rbf SVM case.
Fisrt things first
Whenever we classify we should consider:

For instance I will put some used Kernels.

For a SVM Classifier with Gaussian Kernel we would have something like:
As you notice support vector is substituted and therefore we could vary it depending on results, for example, consider two features and their colored points:

And setting some values we get:
Now

Or

Now what happens when infinity comes to play:

Then:

And what about adaBoost to play with datasets http://cseweb.ucsd.edu/~yfreund/adaboost/
If you like you could test The NETLAB ML Matlab software by Ian Nabney here
Here are more sources for SVM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With