How can I compute the distance of any datapoint to the decision boundary of a SVM done with fitcsvm?

1 view (last 30 days)
I want to compute the distance of every datapoint to the decision boundary. I build the SVM with fitcsvm with an rbf kernel.

Answers (1)

Prajit T R
Prajit T R on 28 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!