Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Support Vector Machine Classification

Support vector machines for binary or multiclass classification

For greater accuracy and kernel-function choices on low- through medium-dimensional data sets, train a binary SVM model or a multiclass error-correcting output codes (ECOC) model containing SVM binary learners using the Classification Learner app. For greater flexibility, use the command-line interface to train a binary SVM model using fitcsvm or train a multiclass ECOC model composed of binary SVM learners using fitcecoc.

For reduced computation time on high-dimensional data sets that fit in the MATLAB® Workspace, efficiently train a binary, linear classification model, such as a linear SVM model, using fitclinear or train a multiclass ECOC model composed of SVM models using fitcecoc.

Apps

Classification Learner Train models to classify data using supervised machine learning

Functions

fitcsvm Train binary support vector machine classifier
fitSVMPosterior Fit posterior probabilities
predict Predict labels using support vector machine classification model
templateSVM Support vector machine template
fitclinear Fit linear classification model to high-dimensional data
predict Predict labels for linear classification models
templateLinear Linear classification learner template
fitcecoc Fit multiclass models for support vector machines or other classifiers
predict Predict labels using error-correcting output code multiclass classification model
templateECOC Error-correcting output codes learner template

Classes

ClassificationSVM Support vector machine for binary classification
CompactClassificationSVM Compact support vector machine for binary classification
ClassificationPartitionedModel Cross-validated classification model
ClassificationLinear Linear model for binary classification of high-dimensional data
ClassificationPartitionedLinear Cross-validated linear model for binary classification of high-dimensional data
ClassificationECOC Multiclass model for support vector machines or other classifiers
CompactClassificationECOC Compact multiclass model for support vector machines or other classifiers
ClassificationPartitionedECOC Cross-validated multiclass model for support vector machines or other classifiers
ClassificationPartitionedLinearECOC Cross-validated linear error-correcting output codes model for multiclass classification of high-dimensional data

Topics

Train Support Vector Machines Using Classification Learner App

Learn how to train support vector machine (SVM) classifiers.

Support Vector Machines for Binary Classification

Perform binary classification via SVM using separating hyperplanes and kernel transformations.

Was this topic helpful?