J48 prediction bug when using the GUI interface (WEKA 3.4)
Abdulrahman Almuhareb <aalmuh <at> essex.ac.uk>
2005-03-01 16:16:05 GMT
Hello all,
This is to report a prediction bug for the J48 algorithm when using the GUI
interface in WEKA 3.4. The predictions that you get when using the command
prompt are fine.
I use two ways to get the prediction when using the explorer window,
and both produce some incorrect predictions:
1. By selecting more option then selecting "output predictions"
option.
2. From the result list I select visualize classifier errors and
save the data file from the "Weka Classifier Visualize" window.
Also, when using (1) above, you get incorrect "instance numbers"
(inst#).
Example:
Assume the following
sub-tree:
=======================
cluster = 4
| dixon =
DV
| | xofx <= 51.08: a (28.0)
|
| xofx > 51.08: q (8.0/2.0)
=======================
- What is the prediction for the instance that has (cluster=4, dixon=DV,
xofx = 5)?
-- Weka prediction will be correct all the times (class "a"). But
see the next case.
- What is the prediction for the instance that has (cluster=4,
dixon=DV, xofx = 100)?
-- Weka will sometimes predict the class "q" and
sometimes will predict the class "a". But the correct prediction is "q" all the
times.
Regards,
Abdulrahman.
_______________________________________________
Wekalist mailing list
Wekalist <at> list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist