Error when setting training and validation sample ratio to 0 on TrainSVMImagesClassifier application.
Mantis Issue 698, reported by sdinot, assigned to mgrizonnet, created: 2013-04-16
When using TrainSVMImagesClassifier with a training and validation sample ratio set to 0, the application gives the following error message :
Application.logger (FATAL) The following error occurred during application execution :c:\users\jmalik\dashboard\src\otb\code\learning\otbShiftScaleSampleListFilter.txx:46:itk::ERROR: ShiftScaleSampleListFilter(050A4048): Input Sample List is empty
1371490278 - grizonnetmfixed here: http://hg.orfeo-toolbox.org/OTB/rev/1af6392bbbae
Now you can run the application with an empty validation set. In this case the application use the training samples to evaluate classification performance. This is indicated by the application through a log message.
Please someone review if the solution is acceptable
Manuel