You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Seth Hendrickson (JIRA)" <ji...@apache.org> on 2016/01/22 00:12:39 UTC

[jira] [Commented] (SPARK-9721) TreeTests.checkEqual should compare predictions on data

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

Seth Hendrickson commented on SPARK-9721:
-----------------------------------------

I assume there is some motivation behind this JIRA, but given the current tree structure in spark.ml, I cannot think of a case where all splits and node predictions could be equal for two trees, but they do not predict exactly the same values for a given dataset. Is there a specific case this change would protect against?

> TreeTests.checkEqual should compare predictions on data
> -------------------------------------------------------
>
>                 Key: SPARK-9721
>                 URL: https://issues.apache.org/jira/browse/SPARK-9721
>             Project: Spark
>          Issue Type: Test
>          Components: ML
>            Reporter: Joseph K. Bradley
>
> In spark.ml tree and ensemble unit tests:
> Modify TreeTests.checkEqual in unit tests to compare predictions on the training data, rather than only comparing the trees themselves.



--
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