[
https://issues.apache.org/jira/browse/SPARK-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067971#comment-14067971
]
Michael Yannakopoulos commented on SPARK-2552:
----------------------------------------------
Xiangrui Meng,
Sorry about posting in this topic:
Would you find useful to create the following spark packages:
a) One that will include all the math functions commonly used for ML tasks.
b) One that will include distributions such as Uniform, Gaussian etc...
Let me know what you are thinking.
Thanks,
Michael
> Stabilize the computation of logistic function in pyspark
> ---------------------------------------------------------
>
> Key: SPARK-2552
> URL: https://issues.apache.org/jira/browse/SPARK-2552
> Project: Spark
> Issue Type: Bug
> Components: MLlib, PySpark
> Reporter: Xiangrui Meng
> Assignee: Xiangrui Meng
> Labels: Starter
>
> exp(1000) throws an error in python. For logistic function, we can use either
> 1 / ( 1 + exp( -x ) ) or 1 - 1 / (1 + exp( x ) ) to compute its value which
> ensuring exp always takes a negative value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)