org.encog.neural.networks.training.svm
Class EncodeSVMProblem
java.lang.Object
org.encog.neural.networks.training.svm.EncodeSVMProblem
public 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(NeuralDataSet training,
int outputIndex)
- Encode the Encog dataset.
- Parameters:
training - The training data.outputIndex - The ideal element to use, this is necessary becase SVM's have
only a single output.
- Returns:
- The SVM problem.
Copyright © 2011. All Rights Reserved.