Class VectorImplicits

Object
org.apache.spark.mllib.linalg.VectorImplicits

public class VectorImplicits extends Object
Implicit methods available in Scala for converting Vector to Vector and vice versa.
  • Constructor Details

    • VectorImplicits

      public VectorImplicits()
  • Method Details

    • mllibVectorToMLVector

      public static Vector mllibVectorToMLVector(Vector v)
    • mllibDenseVectorToMLDenseVector

      public static DenseVector mllibDenseVectorToMLDenseVector(DenseVector v)
    • mllibSparseVectorToMLSparseVector

      public static SparseVector mllibSparseVectorToMLSparseVector(SparseVector v)
    • mlVectorToMLlibVector

      public static Vector mlVectorToMLlibVector(Vector v)
    • mlDenseVectorToMLlibDenseVector

      public static DenseVector mlDenseVectorToMLlibDenseVector(DenseVector v)
    • mlSparseVectorToMLlibSparseVector

      public static SparseVector mlSparseVectorToMLlibSparseVector(SparseVector v)