Regression using SVM is not supported
Created by: tiagofrepereira2012
Issue copied from here: https://github.com/idiap/bob/issues/182
#################
@laurentes We should either update the documentation and remove options such as NU_SVR, or support the regression task correctly.
@anjos Supporting a regression task could be easily patched by adding another method to the class called double regress(const blitz::Array<double,1>& input).
To make that clean, one would need to check for NU_SVR || EPSILON_SVR all over the place to make sure the user is not trying to predict classes with a regression SVM.
Another alternative (I'm not sure that would be better) would be to create two inherited classes ClassificationSupportVector and RegressionSupportVector, which only contain specific methods for those tasks, avoiding the excessive checking. All common functionality remains in SupportVector.
Please share your thoughts.