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 2016/03/31 19:03:25 UTC

[jira] [Updated] (SPARK-14303) Refactor SparkRWrappers

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

Xiangrui Meng updated SPARK-14303:
----------------------------------
    Description: 
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`.

  was: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`.


> Refactor SparkRWrappers
> -----------------------
>
>                 Key: SPARK-14303
>                 URL: https://issues.apache.org/jira/browse/SPARK-14303
>             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