From 67146abf82938425b33d52238ef0e5e72ed8ca6e Mon Sep 17 00:00:00 2001 From: MechCoder Date: Tue, 17 Mar 2015 11:42:38 +0530 Subject: [PATCH] Minor --- .../org/apache/spark/mllib/tree/model/treeEnsembleModels.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mllib/src/main/scala/org/apache/spark/mllib/tree/model/treeEnsembleModels.scala b/mllib/src/main/scala/org/apache/spark/mllib/tree/model/treeEnsembleModels.scala index 0e55e2418407c..b81d055158506 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/tree/model/treeEnsembleModels.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/tree/model/treeEnsembleModels.scala @@ -116,7 +116,7 @@ class GradientBoostedTreesModel( * @param data RDD of [[org.apache.spark.mllib.regression.LabeledPoint]] * @param loss evaluation metric. * @return an array with index i having the losses or errors for the ensemble - * containing trees 1 to i + 1 + * containing the first i+1 trees */ def evaluateEachIteration( data: RDD[LabeledPoint],