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

Fix bound checking for SparseVector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • MLlib, PySpark
    • None

    Description

      There's several issues in the bound checking of SparseVector

      1. In scala, miss negative index checking and different bound checking is scattered in several places. Should put them in one place
      2. In python, miss low/upper bound checking of indices.

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: