Description
`PolynomialMapper` takes a vector column and outputs a vector column with polynomial feature mapping.
val poly = new PolynomialMapper() .setInputCol("features") .setDegree(2) .setOutputCols("polyFeatures")
It should handle the output feature names properly. Maybe we can make a better name for it instead of calling it `PolynomialMapper`.
Attachments
Issue Links
- is related to
-
SPARK-7115 Do not output 1 in PolynomialExpansion
- Resolved
- relates to
-
SPARK-7581 User guide update for PolynomialExpansion
- Resolved
- links to