hubert39
04-17-2007, 04:37 AM
Hi,
I have trouble dealing with J48.
I load Instances from database, and use the J48 classifier function.
J48 j48 = new J48();
j48.buildClassifier(trainInstances);
Then, I convert database into file and use the weka GUI.
However, the J48 classifier model between them is different.
I check that the options value is the same and datasets is the same.
Why the classifier is a little bit different between that I call J48 function and the I use the weka GUI?
Can anyone help me solve the problem? :)
Regards,
Hubert
I have trouble dealing with J48.
I load Instances from database, and use the J48 classifier function.
J48 j48 = new J48();
j48.buildClassifier(trainInstances);
Then, I convert database into file and use the weka GUI.
However, the J48 classifier model between them is different.
I check that the options value is the same and datasets is the same.
Why the classifier is a little bit different between that I call J48 function and the I use the weka GUI?
Can anyone help me solve the problem? :)
Regards,
Hubert