GitHub user MrBago opened a pull request:
https://github.com/apache/spark/pull/19746
[SPARK-22346][ML]
## What changes were proposed in this pull request?
A new VectorSizeHint transformer was added. This transformer is meant to be
used as a pipeline stage ahead of VectorAssembler, on vector columns, so that
VectorAssembler can join vectors in a streaming context where the size of the
input vectors is otherwise not known.
## How was this patch tested?
Unit tests.
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MrBago/spark vector-size-hint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19746.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 #19746
----
commit df990ed771d9d773b6a8a1b8751ae8c1c475b3d5
Author: Bago Amirbekian <[email protected]>
Date: 2017-11-14T15:01:57Z
Added VectorSizeHint Transformer in ml.feature.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]