[ 
https://issues.apache.org/jira/browse/SPARK-17027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-17027.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1
                   1.6.3

Issue resolved by pull request 14614
[https://github.com/apache/spark/pull/14614]

> PolynomialExpansion.choose is prone to integer overflow 
> --------------------------------------------------------
>
>                 Key: SPARK-17027
>                 URL: https://issues.apache.org/jira/browse/SPARK-17027
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 1.6.0, 2.0.0
>            Reporter: Maciej Szymkiewicz
>            Priority: Minor
>             Fix For: 1.6.3, 2.0.1, 2.1.0
>
>
> Current implementation computes power of k directly and because of that it is 
> susceptible to integer overflow on relatively small input (4 features, degree 
> equal 10).  It would be better to use recursive formula instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to