0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Python】scikit-learnの教師あり学習で、データ間のマージンを最大化して分類するモデル(サポートベクタマシン)

Posted at

サポートベクタマシンは、各データの距離が最大になる境界線を求めることでパターン分類を行います。この距離を最大化することを「マージン最大化」と呼びます。

次のデータの分類を考えます。
image.png

線だけで分類しようとすると、何本も線が引けるためどれが最適か分かりません。
image.png

サポートベクタマシンはこの線に幅を持たせて、幅が最大になるポイントを見つけて分類します。
image.png

この場合は中央の線のマージンが最も広いため、ここで分類します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?