Peng Meng created SPARK-21623:
---------------------------------

             Summary: Comments of parentStats on 
ml/tree/impl/DTStatsAggregator.scala is wrong
                 Key: SPARK-21623
                 URL: https://issues.apache.org/jira/browse/SPARK-21623
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 2.3.0
            Reporter: Peng Meng
            Priority: Minor



{code:java}
   * Note: this is necessary because stats for the parent node are not available
   *       on the first iteration of tree learning.
   */
  private val parentStats: Array[Double] = new Array[Double](statsSize)
{code}

This comment is not right. Actually,  parentStats is not only used for the 
first iteration. It is used with all the iteration for unordered featrues.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to