zhengruifeng commented on a change in pull request #26550:
[WIP][SPARK-29334][ML][MLLIB] Support for basic vector operators
URL: https://github.com/apache/spark/pull/26550#discussion_r350074762
##########
File path: mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala
##########
@@ -186,6 +186,46 @@ sealed trait Vector extends Serializable {
*/
@Since("3.0.0")
def dot(v: Vector): Double = BLAS.dot(this, v)
+
+ /**
Review comment:
Sorry for late reply.
Yes numpy support broadcasting.
But I guess what @srowen means is those `Vector`/`Vectors` class defined in
'spark/python/pyspark/ml/linalg/__init__.py'
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]