[
https://issues.apache.org/jira/browse/SPARK-15009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313030#comment-15313030
]
Bryan Cutler commented on SPARK-15009:
--------------------------------------
note - also similar constructor for StringIndexerModel
> PySpark CountVectorizerModel should be able to construct from vocabulary list
> -----------------------------------------------------------------------------
>
> Key: SPARK-15009
> URL: https://issues.apache.org/jira/browse/SPARK-15009
> Project: Spark
> Issue Type: Improvement
> Components: ML, PySpark
> Reporter: Bryan Cutler
> Priority: Minor
>
> Like the Scala version, PySpark CountVectorizerModel should be able to
> construct the model from given a vocabulary list.
> For example
> {noformat}
> cvm = CountVectorizerModel(["a", "b", "c"])
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]