public interface VectorTransformer
extends scala.Serializable
Modifier and Type | Method and Description |
---|---|
JavaRDD<Vector> |
transform(JavaRDD<Vector> data)
Applies transformation on a JavaRDD[Vector].
|
RDD<Vector> |
transform(RDD<Vector> data)
Applies transformation on an RDD[Vector].
|
Vector |
transform(Vector vector)
Applies transformation on a vector.
|
Vector transform(Vector vector)
vector
- vector to be transformed.RDD<Vector> transform(RDD<Vector> data)
data
- RDD[Vector] to be transformed.