You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/11 09:47:25 UTC

[jira] [Commented] (SPARK-14324) Refactor GLMs code in SparkRWrappers

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

Apache Spark commented on SPARK-14324:
--------------------------------------

User 'yanboliang' has created a pull request for this issue:
https://github.com/apache/spark/pull/12294

> Refactor GLMs code in SparkRWrappers
> ------------------------------------
>
>                 Key: SPARK-14324
>                 URL: https://issues.apache.org/jira/browse/SPARK-14324
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, SparkR
>            Reporter: Xiangrui Meng
>
> We use a single object `SparkRWrappers` (https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/r/SparkRWrappers.scala) to wrap method calls to glm and kmeans in SparkR. This is quite hard to maintain. We should refactor them into separate wrappers, like `AFTSurvivalRegressionWrapper` and `NaiveBayesWrapper`.
> The package name should be `spakr.ml.r` instead of `spark.ml.api.r`.



--
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