SVM classifier contour plot

4 ビュー (過去 30 日間)
Angela
Angela 2019 年 4 月 23 日
コメント済み: Angela 2019 年 4 月 23 日
I want to calculate the outlier from a dataset using the example 'Detect Outliers using SVM and one-class learning' shown in:
The plot shows several contour plots (with different values) and several support vectors but it is stated that the boundary is where the contour value is zero. Is there any way to plot only the boundary around zero and the respective vectors for just this boundary?
Thank you.

回答 (1 件)

KSSV
KSSV 2019 年 4 月 23 日
Read about inpolygon. On knowing the corodinates of contour...you can seperate inside and outside points.
  1 件のコメント
Angela
Angela 2019 年 4 月 23 日
Thank you , i was able to use the 'LevelList' parameter to get the contour I wanted. However it still plots all the support vectors and not just the ones for the particular contour. Any ideas how to achieve that?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by