I want to use the libsvm toolbox to calculate the distance d(x) between a sample and the SVDD hyperplane in the feature space. Please, anyone know how to do this? I want to obtain a plot similar to this one here.
Thanks for the answer, but I want to implement this using libsvm toolbox. The SVDD function here differs from the one in the aforementioned toolbox. There are some variables like positive cost or negative cost which I do not know how to select.