Plot Decision boundary and Support vectors in SVM

27 次查看(过去 30 天)
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 个)

Jalaj Gambhir
Jalaj Gambhir 2020-7-31
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!

产品

Community Treasure Hunt

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

Start Hunting!

Translated by