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

Xiangrui Meng commented on SPARK-5207:
--------------------------------------

[~ogeagla] I've assigned this ticket to you. Now the constructor takes 
withMean, withStd, mean, and std. We may want to consider whether we want to 
change the ordering of the parameters or provide auxiliary constructors. For 
example, we can have

StandardScalerModel(mean, std)

and then make withMean, withStd configurable via setters.

setWithMean
setWithStd

Just provide one option here. [~dbtsai] implemented this feature. He may want 
to add more.

> StandardScalerModel mean and variance re-use
> --------------------------------------------
>
>                 Key: SPARK-5207
>                 URL: https://issues.apache.org/jira/browse/SPARK-5207
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Octavian Geagla
>            Assignee: Octavian Geagla
>
> From this discussion: 
> http://apache-spark-developers-list.1001551.n3.nabble.com/Re-use-scaling-means-and-variances-from-StandardScalerModel-td10073.html
> Changing constructor to public would be a simple change, but a discussion is 
> needed to determine what args necessary for this change.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to