Outputting the decision boundary function for one-class SVM with fitcsvm?

4 ビュー (過去 30 日間)
Daniel Williams
Daniel Williams 2021 年 1 月 13 日
回答済み: Aditya Patil 2021 年 2 月 16 日
Say I am performing outlier detection, or performing a one-class SVM classification using fitcsvm. I am only interested in doing so to obtain the function that separates the decision boundaries. How do I obtain this?
If the decision boundary is when , how do I obtain ?
Many thanks!

回答 (1 件)

Aditya Patil
Aditya Patil 2021 年 2 月 16 日
You can find the equation for decision boundary explicitly only if linear kernel is used. In other cases, the score function is not calculated in terms of x, hence it's not possible to derive equation for when . You can however plot the decision boundary by finding points for which .
See this answer for more details.

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by