DecisionTree: In Java-friendly train* methods, changed to use JavaRDD instead of RDD.