[ https://issues.apache.org/jira/browse/SPARK-19155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanbo Liang resolved SPARK-19155. --------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 2.1.1 2.0.3 > MLlib GeneralizedLinearRegression family and link should case insensitive > -------------------------------------------------------------------------- > > Key: SPARK-19155 > URL: https://issues.apache.org/jira/browse/SPARK-19155 > Project: Spark > Issue Type: Bug > Components: ML > Reporter: Yanbo Liang > Assignee: Yanbo Liang > Fix For: 2.0.3, 2.1.1, 2.2.0 > > > ML {{GeneralizedLinearRegression}} only support lowercase input for > {{family}} and {{link}} currently. For example, the following code will throw > exception: > {code} > val trainer = new GeneralizedLinearRegression().setFamily("Gamma") > {code} > However, R glm only accepts families: {{gaussian, binomial, poisson, Gamma}}. > We should make {{family}} and {{link}} case insensitive. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org