Developer Guide

Contents

Usage of Training Alternative

To build a Support Vector Machine (SVM) Classifier model using methods of the Model Builder class of SVM Classifier, complete the following steps:
  • Create an SVM Classifier model builder using a constructor with the required number of support vectors and features.
  • In any sequence:
    • Use the
      setSupportVectors
      ,
      setClassificationCoefficients
      , and
      setSupportIndices
      methods to add pre-calculated support vectors, classification coefficients, and support indices (optional), respectively, to the model. For each method specify random access iterators to the first and the last element of the corresponding set of values [ISO/IEC 14882:2011 § 24.2.7].
    • Use
      setBias
      to add a bias term to the model.
  • Use the
    getModel
    method to get the trained SVM Classifier model.
  • Use the
    getStatus
    method to check the status of the model building process. If
    DAAL_NOTHROW_EXCEPTIONS
    macro is defined, the status report contains the list of errors that describe the problems API encountered (in case of API runtime failure).
If after calling the
getModel
method you use the
setBias
,
setSupportVectors
,
setClassificationCoefficients
, or
setSupportIndices
methods, coefficients, the initial model will be automatically updated with the new set of parameters.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804