MATLAB: How to get access to the support vectors calculated by the SVMTRAIN function in the Bioinformatics Toolbox

Bioinformatics Toolboxvector

I am using the SVMTRAIN function in my analysis, and I am interested in knowing the support vectors that are used within the function. I would like the SVMTRAIN function to output the support vectors.

Best Answer

This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
Documentation on the SVMTRAIN function is missing from the Bioinformatics Toolbox.
Here is the additional information on the SVMTRAIN function:
The structure returned by the SVMTRAIN function, SVMStruct, contains within it the support vectors used in the SVMTRAIN function. These can be accessed in the SupportVectors element of the SVMStruct, with a command such as the following:
SVMStruct.SupportVectors