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

    https://github.com/apache/spark/pull/20112#discussion_r159097278
  
    --- Diff: python/pyspark/ml/feature.py ---
    @@ -3466,6 +3466,72 @@ def selectedFeatures(self):
             return self._call_java("selectedFeatures")
     
     
    +@inherit_doc
    +class VectorSizeHint(JavaTransformer, HasInputCol, HasHandleInvalid, 
JavaMLReadable,
    --- End diff --
    
    You'll need to override handleInvalid, like in the Scala API, since it 
takes different values & has a different docstring.


---

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

Reply via email to