Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • ML
    • None

    Description

      `VectorAssembler` takes a list of columns (of type double/int/vector) and merge them into a single vector column.

      val va = new VectorAssembler()
        .setInputCols("userFeatures", "dayOfWeek", "timeOfDay")
        .setOutputCol("features")
      

      In the first version, it should be okay if it doesn't handle ML attributes (SPARK-4588).

      Attachments

        Issue Links

          Activity

            People

              mengxr Xiangrui Meng
              mengxr Xiangrui Meng
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: