Details

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

    Description

      `VectorSlicer` takes a vector column and output a vector column with a subset of features.

      val vs = new VectorSlicer()
        .setInputCol("user")
        .setSelectedFeatures("age", "salary")
        .setOutputCol("usefulUserFeatures")
      

      We should allow specifying selected features by indices and by names. It should preserve the output names.

      Attachments

        Issue Links

          Activity

            People

              yinxusen Xusen Yin
              mengxr Xiangrui Meng
              Joseph K. Bradley Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: