Visualizing a hyper-plane in SVM classifier(SVMの分離境界​面の可視化)

A hyper-plane in SVM classifier was visualized. 3変数にてSVMを使い、分類を行うときの分離曲面を可視化します。

You are now following this Submission

[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平面での可視化はできません。
例えばカーネルの種類を変えると境界面がどのように変わるのかを視覚的に確認でき、有効です。

Cite As

Kenta (2026). 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. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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