[
https://issues.apache.org/jira/browse/SPARK-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527492#comment-14527492
]
Joseph K. Bradley commented on SPARK-7047:
------------------------------------------
Ping [~mengxr]: Optional won't be Java-friendly, right? Should we leave this
as-is, using null instead of None? We could at least add a method:
{code}
def hasParent: Boolean = parent != null
{code}
> Model parent should be Optional
> -------------------------------
>
> Key: SPARK-7047
> URL: https://issues.apache.org/jira/browse/SPARK-7047
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 1.4.0
> Reporter: Joseph K. Bradley
> Assignee: Joseph K. Bradley
> Priority: Minor
>
> Ensembles' component Models have no parents. Instead of making those values
> null, we should make them Options.
> For Python, "None" is probably the correct equivalent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]