[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平面での可視化はできません。
例えばカーネルの種類を変えると境界面がどのように変わるのかを視覚的に確認でき、有効です。
인용 양식
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. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!