Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/475#discussion_r12312438
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/mllib/tree/DecisionTreeSuite.scala ---
    @@ -405,16 +453,30 @@ object DecisionTreeSuite {
     
       def generateOrderedLabeledPointsWithLabel1(): Array[LabeledPoint] = {
         val arr = new Array[LabeledPoint](1000)
    -    for (i <- 0 until 1000){
    +    for (i <- 0 until 1000) {
           val lp = new LabeledPoint(1.0, Vectors.dense(i.toDouble, 999.0 - i))
           arr(i) = lp
         }
         arr
       }
     
    +  def generateOrderedLabeledPoints(): Array[LabeledPoint] = {
    +    val arr = new Array[LabeledPoint](1000)
    +    for (i <- 0 until 1000) {
    +      if (i < 600){
    --- End diff --
    
    `){` -> `) {`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to