Hello,

I am working on the exact knn algorithm in Flink, and I'd like to make the
structure more modular.

​I am working off of the initial work of @chiwanpark, and when I print out
a variable to the screen, I get something like:
```
training.values =  Vector(DenseVector(-0.206, -0.276), DenseVector(-0.206,
-0.076),...,)
testing.values =  Vector((0,DenseVector(0.0, 0.0)))
```
How can I pass such a variable to a function.  It seems that
```
myFun(A : Vector(DenseVector))
myFun(A : Vector[DenseVector])
```
do not work.  Tried to look around other Flink-ml code, but couldn't find
exactly what I was looking for.

Thanks,
Dan

Reply via email to