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

PolynomialExpansion.choose is prone to integer overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.0, 2.0.0
    • 2.0.1, 2.1.0
    • ML
    • None

    Description

      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.

      Attachments

        Activity

          People

            zero323 Maciej Szymkiewicz
            zero323 Maciej Szymkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: