original Java code of Weka
Merge remote-tracking branch 'origin/master'