Interface VectorTransformer

All Superinterfaces:
Serializable, scala.Serializable
All Known Implementing Classes:
ChiSqSelectorModel, ElementwiseProduct, Normalizer, PCAModel, StandardScalerModel

public interface VectorTransformer extends scala.Serializable
Trait for transformation of a vector
  • Method Details

    • transform

      Vector transform(Vector vector)
      Applies transformation on a vector.

      Parameters:
      vector - vector to be transformed.
      Returns:
      transformed vector.
    • transform

      RDD<Vector> transform(RDD<Vector> data)
      Applies transformation on an RDD[Vector].

      Parameters:
      data - RDD[Vector] to be transformed.
      Returns:
      transformed RDD[Vector].
    • transform

      JavaRDD<Vector> transform(JavaRDD<Vector> data)
      Applies transformation on a JavaRDD[Vector].

      Parameters:
      data - JavaRDD[Vector] to be transformed.
      Returns:
      transformed JavaRDD[Vector].