franck abelli plupjbkcorsicaferriescom hi ive little incident last sunday caused 90 000 mails queued incoming queue tune postfix dequeue messages faster users become impatients havent received meteo newsletter dont know weather good today thanks help dlnirllcwaikatoacnz sun feb 24 102741 2008 message 1 date mon 11 feb 2008 130823 1300 peter reutemann subject wekalist java class results vs command line results weka machine learning workbench list messageid 47af91f79050303waikatoacnz contenttype textplain charset3dutf8 im developing class show results different classifiers code smo cl 3d new smo clbuildclassifierdata never ever use built classifier conjunction evaluationcrossvalidatemodel classifier doesnt reset correctly buildclassifierinstances method youre screwed another thing runtime train model dont use crossvalidatemodel method generates models evaluates evaluation eval 3d new evaluationdata evalcrossvalidatemodelcl data 10 new random1 systemoutprintlnresultevaltoclassdetailsstring output information detailed accuracy class appears nce use command line java wekaclassifiersfunctionssmo detailed accuracy class appears twice whats reason show two values first output generated full dataset following section error training data second one output crossvalidation following stratified crossvalidation ive attached example class works 357 hth cheers peter peter reutemann dept computer science university waikato nz httpwwwcswaikatoacnzfracpete 64 7 8384466 ext 5174 next part import wekacore import wekacoreconverters import wekacoreconvertersconverterutils import wekaclassifiers import wekaclassifiersfunctions import javautil public class smotest public static void mainstring args throws exception instances data evaluation eval smo cl load data data 3d datasourcereadargs0 datasetclassindexdatanumattributes 1 full dataset cl 3d new smo eval 3d new evaluationdata clbuildclassifierdata evalevaluatemodelcl data systemoutprintln full datasetn evaltoclassdetailsstring crossvalidation cl 3d new smo eval 3d new evaluationdata evalcrossvalidatemodelcl data 10 new random1 systemoutprintln crossvalidationn evaltoclassdetailsstri ng tue 05 aug 2008 232916 0100 dequeing