Visualizing a hyper-plane in SVM classifier(SVMの分離境界面の可視化)
[English]
This example describes a hyper-plane in support vector machine for classification. This code was created with reference to the official documentation entitled "Support Vector Machines for Binary Classification" as shown below.
(https://jp.mathworks.com/help/stats/support-vector-machines-for-binary-classification.html?lang=en)
While the officilal document denotes how to show the decision boundary in a 2D space, this example represents how to describe the hype-plane in a 3D space.
[Japanese]
サポートベクターマシン(SVM)にて分類を行ったときの分離境界面の3D上での可視化を行います。
変数が4つ以上になるとxyz平面での可視化はできません。
例えばカーネルの種類を変えると境界面がどのように変わるのかを視覚的に確認でき、有効です。
Zitieren als
Kenta (2024). Visualizing a hyper-plane in SVM classifier(SVMの分離境界面の可視化) (https://www.mathworks.com/matlabcentral/fileexchange/74442-visualizing-a-hyper-plane-in-svm-classifier-svm), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
files
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.5 | Description added |
||
1.0.4 | title corrected |
||
1.0.3 | Japanese summary added |
||
1.0.2 | The information of "Required Mathworks Products" was added (MATLAB and Statistics and Machine Learning Toolbox) |
||
1.0.1 | Japanese subtitle added |
||
1.0.0 |