Adding Scala code to classify using a Weka model.