You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/04/05 00:24:25 UTC

[jira] [Created] (SPARK-14386) spark.ml DecisionTreeModel abstraction should not be exposed

Joseph K. Bradley created SPARK-14386:
-----------------------------------------

             Summary: spark.ml DecisionTreeModel abstraction should not be exposed
                 Key: SPARK-14386
                 URL: https://issues.apache.org/jira/browse/SPARK-14386
             Project: Spark
          Issue Type: Improvement
          Components: ML
            Reporter: Joseph K. Bradley
            Assignee: Joseph K. Bradley


In spark.ml, GBT and RandomForest expose the trait DecisionTreeModel in the {{trees}} method, but they should not since it is a private trait (and not ready to be made public).  It will also be more useful to users if we return the concrete types.

Proposal: return concrete types
* The MIMA checks appear to be OK with this change.



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