yunfengzhou-hub commented on a change in pull request #37:
URL: https://github.com/apache/flink-ml/pull/37#discussion_r764709720



##########
File path: flink-ml-core/src/main/java/org/apache/flink/ml/linalg/Vectors.java
##########
@@ -25,4 +25,19 @@
     public static DenseVector dense(double... values) {
         return new DenseVector(values);
     }
+
+    /** Creates a sparse vector from its values. */
+    public static SparseVector sparse(int size) {

Review comment:
       OK. I'll make the change.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to