GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/6452
[SPARK-7198] [MLLIB] VectorAssembler should output ML attributes
`VectorAssembler` should carry over ML attributes. For unknown attributes,
we assume numeric values. This PR handles the following cases:
1. DoubleType with ML attribute: carry over
2. DoubleType without ML attribute: numeric value
3. Scalar type: numeric value
4. VectorType with all ML attributes: carry over and update names
5. VectorType with number of ML attributes: assume all numeric
6. VectorType without ML attributes: check the first row and get the number
of attributes
@jkbradley
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-7198
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6452.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6452
----
commit facdb1f8d43766ff94bcb8e1bdcb6651de0b29ea
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-28T04:22:44Z
VectorAssembler should output ML attributes
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]