GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/16770
[SPARK-15009][PYTHON][ML][WIP] Construct CountVectorizerModel from
Vocabulary
â¦yet working because missing param _copyValues from estimator to model
## What changes were proposed in this pull request?
Added a class method to construct CountVectorizerModel from a list of
vocabulary strings.
## How was this patch tested?
Added to current doctests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
pyspark-CountVectorizerModel-vocab_ctor-SPARK-15009
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16770.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 #16770
----
commit da65f4b5798bde2ae944c4b4c82a31d73bcff070
Author: Bryan Cutler <[email protected]>
Date: 2017-02-01T19:44:45Z
Added class method to construct CountVectorizerModel from vocab, not yet
working because missing param _copyValues from estimator to model
----
---
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]