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

MLlib GeneralizedLinearRegression family and link should case insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • ML
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: