You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2016/04/01 05:55:25 UTC
[jira] [Commented] (SPARK-14303) Refactor SparkRWrappers
[ https://issues.apache.org/jira/browse/SPARK-14303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221111#comment-15221111 ]
Yanbo Liang commented on SPARK-14303:
-------------------------------------
[~mengxr] I have make the refactor for k-means, I will link the PR here.
> 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