Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/8505#discussion_r40752797
--- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/HashingTF.scala
---
@@ -32,15 +32,20 @@ import org.apache.spark.sql.types.{ArrayType,
StructType}
* :: Experimental ::
* Maps a sequence of terms to their term frequencies using the hashing
trick.
*/
+@Since("1.2.0")
@Experimental
-class HashingTF(override val uid: String) extends Transformer with
HasInputCol with HasOutputCol {
+class HashingTF @Since("1.2.0") (@Since("1.4.0") override val uid: String)
extends Transformer
--- End diff --
The constructor with `uid` should be since `1.4.0`. The default constructor
below is since `1.2.0`. Please check others as well.
---
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]