Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15944 Make spark.ml package backward compatible with spark.mllib vectors
  3. SPARK-16328

Implement conversion utility functions for single instances in Python

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML, MLlib, PySpark
    • None

    Description

      We have asML/fromML utility methods in Scala/Java to convert between the old and new linalg types. These are missing in Python.

      For dense vectors it's actually easy to do without, e.g. mlDenseVector = Vectors.dense(mllibDenseVector), but for sparse it doesn't work easily. So it would be good to have utility methods available for users.

      Attachments

        Activity

          People

            mlnick Nicholas Pentreath
            mlnick Nicholas Pentreath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: