Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: ML
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: