[
https://issues.apache.org/jira/browse/SPARK-19155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833850#comment-15833850
]
Apache Spark commented on SPARK-19155:
--------------------------------------
User 'actuaryzhang' has created a pull request for this issue:
https://github.com/apache/spark/pull/16675
> 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: [email protected]
For additional commands, e-mail: [email protected]