You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/07/21 03:41:39 UTC
[jira] [Resolved] (SPARK-2552) Stabilize the computation of
logistic function in pyspark
[ https://issues.apache.org/jira/browse/SPARK-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng resolved SPARK-2552.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Issue resolved by pull request 1493
[https://github.com/apache/spark/pull/1493]
> 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
> Fix For: 1.1.0
>
>
> 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)