Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment