Skip to content

Commit b2cc944

Browse files
author
Martin Brown
committed
correcting version for default constructors
1 parent b0881a3 commit b2cc944

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mllib/src/main/scala/org/apache/spark/ml/feature/HashingTF.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import org.apache.spark.sql.types.{ArrayType, StructType}
3737
class HashingTF @Since("1.2.0") (@Since("1.4.0") override val uid: String) extends Transformer
3838
with HasInputCol with HasOutputCol {
3939

40-
@Since("1.4.0")
40+
@Since("1.2.0")
4141
def this() = this(Identifiable.randomUID("hashingTF"))
4242

4343
/** @group setParam */

mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class StandardScaler @Since("1.2.0") (@Since("1.4.0") override val uid: String)
6161
Estimator[StandardScalerModel]
6262
with StandardScalerParams {
6363

64-
@Since("1.4.0")
64+
@Since("1.2.0")
6565
def this() = this(Identifiable.randomUID("stdScal"))
6666

6767
setDefault(withMean -> false, withStd -> true)

mllib/src/main/scala/org/apache/spark/ml/feature/Tokenizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import org.apache.spark.sql.types.{ArrayType, DataType, StringType}
3434
class Tokenizer @Since("1.2.0") (@Since("1.4.0") override val uid: String) extends
3535
UnaryTransformer[String, Seq[String], Tokenizer] {
3636

37-
@Since("1.4.0")
37+
@Since("1.2.0")
3838
def this() = this(Identifiable.randomUID("tok"))
3939

4040
@Since("1.2.0")

0 commit comments

Comments
 (0)