Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16770#discussion_r174557844
  
    --- Diff: python/pyspark/ml/feature.py ---
    @@ -437,33 +498,20 @@ class CountVectorizer(JavaEstimator, HasInputCol, 
HasOutputCol, JavaMLReadable,
         >>> loadedModel = CountVectorizerModel.load(modelPath)
         >>> loadedModel.vocabulary == model.vocabulary
         True
    +    >>> fromVocabModel = 
CountVectorizerModel.from_vocabulary(model.vocabulary,
    --- End diff --
    
    Yeah, totally agree let me change it


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to