encog/encog-java-core — Issue #61: SVM can only have an output size of 1
Author: PetrToman
Created: 2012-02-18 11:22:04+00:00
State: open

SVM training does not support multi-class classification. Upon attempt Workbench pops up an error message: "SVM can only have an output size of 1."

There is a comment in SVM.java ("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."), so probably something was not completed. Underlying libsvm suports this (see http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html).