Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

possible bug in LibSVM

$
0
0
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

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>