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

MLlib GeneralizedLinearRegression family and link should case insensitive

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: ML
    • Labels:
      None

      Description

      ML GeneralizedLinearRegression only support lowercase input for family and link currently. For example, the following code will throw exception:

      val trainer = new GeneralizedLinearRegression().setFamily("Gamma")
      

      However, R glm only accepts families: gaussian, binomial, poisson, Gamma. We should make family and link case insensitive.

        Attachments

          Activity

            People

            • Assignee:
              yanboliang Yanbo Liang
              Reporter:
              yanboliang Yanbo Liang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: