Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14324

Refactor GLMs code in SparkRWrappers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML, SparkR
    • None

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

      Attachments

        Issue Links

          Activity

            People

              yanboliang Yanbo Liang
              mengxr Xiangrui Meng
              Xiangrui Meng Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: