You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2016/07/06 09:57:10 UTC

[jira] [Resolved] (SPARK-16307) Improve testing for DecisionTree variances

     [ https://issues.apache.org/jira/browse/SPARK-16307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanbo Liang resolved SPARK-16307.
---------------------------------
          Resolution: Fixed
       Fix Version/s: 2.1.0
    Target Version/s: 2.1.0

> 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
>            Assignee: Manoj Kumar
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org