Skip to content

Commit 23d4268

Browse files
committed
minor: another minor code style
1 parent 34ee7b9 commit 23d4268

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ object DecisionTree extends Serializable with Logging {
292292
maxDepth: Int,
293293
numClassesForClassification: Int,
294294
labelWeights: Map[Int,Int]): DecisionTreeModel = {
295-
val strategy
296-
= new Strategy(algo, impurity, maxDepth, numClassesForClassification,
295+
val strategy = new Strategy(algo, impurity, maxDepth, numClassesForClassification,
297296
labelWeights = labelWeights)
298297
// Converting from standard instance format to weighted input format for tree training
299298
val weightedInput = input.map(x => WeightedLabeledPoint(x.label, x.features))

0 commit comments

Comments
 (0)