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

    https://github.com/apache/spark/pull/8505#discussion_r44097390
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/Binarizer.scala 
---
    @@ -31,10 +31,12 @@ import org.apache.spark.sql.types.{DoubleType, 
StructType}
      * :: Experimental ::
      * Binarize a column of continuous features given a threshold.
      */
    +@Since("1.4.0")
     @Experimental
    -final class Binarizer(override val uid: String)
    +final class Binarizer @Since("1.4.0") (@Since("1.4.0") override val uid: 
String)
       extends Transformer with HasInputCol with HasOutputCol {
     
    +  @Since("1.4.0")
    --- End diff --
    
    Hey @mengxr I'm a little confused here because Binarizer wasn't added until 
1.4.0.  I did correct the default constructor to 1.2.0 for the original classes 
from that version (HashingTF, StandardScaler, Tokenizer).


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