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

pyspark.{ml, mllib}.linalg.Vector API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • ML, MLlib, PySpark
    • None

    Description

      At the moment both Vector implementations have minimal API. mllib

      class Vector(object):
          __UDT__ = ....
          def toArray(self): ...
          def asML(self): ...
      

      ml

      class Vector(object):
          __UDT__ = ...
          def toArray(self): ...
      
      

      which doesn't cover actual API being used.

      This causes typing issues, when we expect any Vector.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: