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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.