Could someone show me how to use multi class SVM classification in Encog 3.1?
I have used their Neural Networks with some success, but can not work out how to set up a multiclass SVM.
The docs have this to say:
"This is a network that is backed by one or more Support Vector Machines (SVM). It is designed to function very similarly to an Encog neural network, and is largely interchangeable with an Encog neural network..... Classification is used when you want the SVM to group the input data into one or more classes. Support Vector Machines typically have a single output. Neural networks can have multiple output neurons. To get around this issue, this class will create multiple SVM's if there is more than one output specified"
Yet i can not see how to specify more than one output, in fact the output property simply returns 1:
/// <value>For a SVM, the output count is always one.</value>
public int OutputCount
{
get { return 1; }
}
Answers in Java or c# are greatly appreciated
EDIT still unable to work this out. Really enjoying using Encog, but the support forum is quite with only Jeff Heaton (author of project) himself answering when he gets a chance, so im linking the project code and adding a bounty in the hope that someone can see what im obviously missing.
The project: http://heatonresearch.com/
The SupportVectorMachine class on google code: https://code.google.com/p/encog-cs/source/browse/trunk/encog-core/encog-core-cs/ML/SVM/SupportVectorMachine.cs