New error :-( scala> object VectorAccumulatorParam extends AccumulatorParam[Vector] { | def zero(initialValue: Vector): Vector = { | Vector.zeros(initialValue.size) | } | def addInPlace(v1: Vector, v2: Vector): Vector = { | v1 += v2 | } | } <console>:12: error: not found: type AccumulatorParam object VectorAccumulatorParam extends AccumulatorParam[Vector] { ^ <console>:14: error: value zeros is not a member of object scala.collection.immutable.Vector Vector.zeros(initialValue.size) ^ <console>:17: error: value += is not a member of org.apache.spark.mllib.linalg.Vector v1 += v2 ^
----- Cheers, Stephanie -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/implementing-the-VectorAccumulatorParam-tp6973p6976.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com.