Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/13641#discussion_r67596150
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/feature/ElementwiseProduct.scala ---
@@ -33,21 +33,26 @@ import org.apache.spark.sql.types.DataType
* multiplier.
*/
@Experimental
-class ElementwiseProduct(override val uid: String)
+@Since("1.4.0")
+class ElementwiseProduct @Since("1.4.0") (@Since("1.4.0") override val
uid: String)
extends UnaryTransformer[Vector, Vector, ElementwiseProduct] with
DefaultParamsWritable {
+ @Since("1.4.0")
def this() = this(Identifiable.randomUID("elemProd"))
/**
* the vector to multiply with input vectors
* @group param
*/
+ @Since("1.4.0")
--- End diff --
This uses the new `Vector`. So ideally it is since `2.0.0`. I'm not sure
about whether we should change the class since version to 2.0 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]