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
- relates to
-
SPARK-9893 User guide for VectorSlicer
- Resolved
- links to