moved common classifier code to WekaClassifierProvider