[ 
https://issues.apache.org/jira/browse/SPARK-16307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355896#comment-15355896
 ] 

Apache Spark commented on SPARK-16307:
--------------------------------------

User 'MechCoder' has created a pull request for this issue:
https://github.com/apache/spark/pull/13981

> Improve testing for DecisionTree variances
> ------------------------------------------
>
>                 Key: SPARK-16307
>                 URL: https://issues.apache.org/jira/browse/SPARK-16307
>             Project: Spark
>          Issue Type: Test
>            Reporter: Manoj Kumar
>            Priority: Minor
>
> The current test assumes that Impurity.calculate() returns the variance 
> correctly. A better approach would be to test if the variance returned equals 
> the variance that we can manually verify on a toy data and tree.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to