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

Yanbo Liang commented on SPARK-7667:
------------------------------------

[~josephkb] I have found that some parameters mismatch but they are in public 
APIs.
For example, in LinearRegressionWithSGD.train() we use intercept for Python 
(https://github.com/apache/spark/blob/master/python/pyspark/mllib/regression.py#L193)
 but addIntercept for Scala 
(https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/regression/GeneralizedLinearAlgorithm.scala#L102).
 
I think it should not modify an public API.
Do we need only check and ensure the API consistency for 
Alpha/Experimental/DeveloperApi component?

> MLlib Python API consistency check
> ----------------------------------
>
>                 Key: SPARK-7667
>                 URL: https://issues.apache.org/jira/browse/SPARK-7667
>             Project: Spark
>          Issue Type: Task
>          Components: MLlib, PySpark
>    Affects Versions: 1.4.0
>            Reporter: Yanbo Liang
>
> Check and ensure the MLlib Python API(class/method/parameter) consistent with 
> Scala.



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

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

Reply via email to