Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/685#discussion_r12412535
--- Diff: mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
---
@@ -188,3 +198,28 @@ class SparseVector(
private[mllib] override def toBreeze: BV[Double] = new
BSV[Double](indices, values, size)
}
+
+/**
+ * Parsers for string representation of
[[org.apache.spark.mllib.linalg.Vector]].
+ */
+private[mllib] class VectorParsers extends JavaTokenParsers {
--- End diff --
Parser combinators are really slow unfortunately, should use something else
here
---
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.
---