Plot Decision boundary and Support vectors in SVM

I did SVM with Cubic kernel for a particular dataset using classification learner app in MATLAB. But I did not get decision boundary and support vectors. How can I get those? Any suggestions?

回答(1 个)

Hi,
You can export the model from the Classification Learner App, you will get a ClassificationSVM model. This object can be used to retrieve the required information.
Hope this helps!

类别

在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by