Skip to content

Commit

Permalink
Fix style.
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Apr 20, 2015
1 parent b60b475 commit 5e8b174
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ object DecisionTreeExample {
val splits: Array[RDD[LabeledPoint]] = if (testInput != "") {
// Load testInput.
val numFeatures = origExamples.take(1)(0).features.size
val origTestExamples: RDD[LabeledPoint] = loadData(sc, testInput, dataFormat, Some(numFeatures))
val origTestExamples: RDD[LabeledPoint] =
loadData(sc, testInput, dataFormat, Some(numFeatures))
Array(origExamples, origTestExamples)
} else {
// Split input into training, test.
Expand Down

0 comments on commit 5e8b174

Please sign in to comment.