spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-13676) Fix mismatched default values for regParam in LogisticRegression
Date Fri, 04 Mar 2016 12:03:40 GMT

     [ https://issues.apache.org/jira/browse/SPARK-13676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-13676:
------------------------------------

    Assignee:     (was: Apache Spark)

> Fix mismatched default values for regParam in LogisticRegression
> ----------------------------------------------------------------
>
>                 Key: SPARK-13676
>                 URL: https://issues.apache.org/jira/browse/SPARK-13676
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, MLlib
>            Reporter: Dongjoon Hyun
>
> The default value of regularization parameter for `LogisticRegression` algorithm is different
in Scala and Python. We should provide the same value.
> {code:title=Scala|borderStyle=solid}
> scala> new org.apache.spark.ml.classification.LogisticRegression().getRegParam
> res0: Double = 0.0
> {code}
> {code:title=Python|borderStyle=solid}
> >>> from pyspark.ml.classification import LogisticRegression
> >>> LogisticRegression().getRegParam()
> 0.1
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message