org.encog.ml.svm.training

## Class EncodeSVMProblem

- java.lang.Object
- - org.encog.ml.svm.training.EncodeSVMProblem

-     public final class EncodeSVMProblem
      extends Object

  Encode an Encog dataset as a SVM problem.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static svm_problem` | `encode(MLDataSet training, int outputIndex)` Encode the Encog dataset.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### encode

          public static svm_problem encode(MLDataSet training,
                           int outputIndex)

      Encode the Encog dataset.
      Parameters:
        `training` - The training data.
        `outputIndex` - The ideal element to use, this is necessary because SVM's have only a single output. This value is typically zero.
      Returns:
        The SVM problem.

Copyright © 2014. All Rights Reserved.