[
https://issues.apache.org/jira/browse/SPARK-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709713#comment-14709713
]
Feynman Liang edited comment on SPARK-10014 at 8/24/15 5:50 PM:
----------------------------------------------------------------
Actually, I think I get it. Is the point to prevent rebroadcasting of the model
during multiple calls to {{transform}}?
Why not use a val since the {{Model}} should be immutable?
was (Author: fliang):
Actually, I think I get it. Is the point to prevent rebroadcasting of the model
during multiple calls to {{transform}}?
> ML model broadcasts should be stored in private vars
> ----------------------------------------------------
>
> Key: SPARK-10014
> URL: https://issues.apache.org/jira/browse/SPARK-10014
> Project: Spark
> Issue Type: Umbrella
> Components: ML, MLlib
> Reporter: Joseph K. Bradley
> Priority: Minor
>
> Multiple places in MLlib, we broadcast a model before prediction. Since
> prediction may be called many times, we should store the broadcast variable
> in a private var so that we broadcast at most once.
> I'll link subtasks for each problem case I find.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]