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

7 views (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

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!