Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8633#discussion_r39096533
  
    --- Diff: python/pyspark/mllib/feature.py ---
    @@ -84,11 +84,14 @@ class Normalizer(VectorTransformer):
         >>> nor2 = Normalizer(float("inf"))
         >>> nor2.transform(v)
         DenseVector([0.0, 0.5, 1.0])
    +
    +    .. versionadded:: 1.2.0
    --- End diff --
    
    I think matching the overall project versioning scheme make it's clearer - 
but I'm happy to implement it either way. 
    
    One thing to watch for with using floats is that you can't differentiate 
between 1.1 and 1.10 (but it looks like that's unlikely to be a problem from 
the versioning history).


---
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]

Reply via email to