Hi
I have the following one line of code in my program
((OptionHandler)models[j].setOptions(optionsArray[j]);
I am looping 7 times for seven different classifiers and I repeat this code (unnecessarily) at each time interval
Six classifiers behave perfectly but the seventh LibSVM does not
On the first iteration the 'S' option is set to '3' as per my program
Thereafter it is set to '0' even tho my program tells it that 'S' is '3'
What code should I add straight after the above line so that if the classifier is LibSVM then I explicitly set the 'S' option to '3'
Bob M
I have the following one line of code in my program
((OptionHandler)models[j].setOptions(optionsArray[j]);
I am looping 7 times for seven different classifiers and I repeat this code (unnecessarily) at each time interval
Six classifiers behave perfectly but the seventh LibSVM does not
On the first iteration the 'S' option is set to '3' as per my program
Thereafter it is set to '0' even tho my program tells it that 'S' is '3'
What code should I add straight after the above line so that if the classifier is LibSVM then I explicitly set the 'S' option to '3'
Bob M