You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/03/04 12:50:40 UTC
[jira] [Created] (SPARK-13676) Fix mismatched default values for
regParam in LogisticRegression
Dongjoon Hyun created SPARK-13676:
-------------------------------------
Summary: 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
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