org.apache.spark.mllib

linalg

package linalg

Visibility
  1. Public
  2. All

Type Members

  1. class DenseMatrix extends Matrix

    Column-major dense matrix.

    Column-major dense matrix. The entry values are stored in a single array of doubles with columns listed in sequence. For example, the following matrix

    1.0 2.0
    3.0 4.0
    5.0 6.0

    is stored as [1.0, 3.0, 5.0, 2.0, 4.0, 6.0].

  2. class DenseVector extends Vector

    A dense vector represented by a value array.

    A dense vector represented by a value array.

    Annotations
    @SQLUserDefinedType()
  3. sealed trait Matrix extends Serializable

    Trait for a local matrix.

  4. case class SingularValueDecomposition[UType, VType](U: UType, s: Vector, V: VType) extends Product with Serializable

    :: Experimental :: Represents singular value decomposition (SVD) factors.

    :: Experimental :: Represents singular value decomposition (SVD) factors.

    Annotations
    @Experimental()
  5. class SparseMatrix extends Matrix

    Column-major sparse matrix.

    Column-major sparse matrix. The entry values are stored in Compressed Sparse Column (CSC) format. For example, the following matrix

    1.0 0.0 4.0
    0.0 3.0 5.0
    2.0 0.0 6.0

    is stored as values: [1.0, 2.0, 3.0, 4.0, 5.0, 6.0], rowIndices=[0, 2, 1, 0, 1, 2], colPointers=[0, 2, 3, 6].

  6. class SparseVector extends Vector

    A sparse vector represented by an index array and an value array.

    A sparse vector represented by an index array and an value array.

    Annotations
    @SQLUserDefinedType()
  7. sealed trait Vector extends Serializable

    Represents a numeric vector, whose index type is Int and value type is Double.

    Represents a numeric vector, whose index type is Int and value type is Double.

    Note: Users should not implement this interface.

    Annotations
    @SQLUserDefinedType()

Value Members

  1. object Matrices

    Factory methods for org.apache.spark.mllib.linalg.Matrix.

  2. object Vectors

    Factory methods for org.apache.spark.mllib.linalg.Vector.

    Factory methods for org.apache.spark.mllib.linalg.Vector. We don't use the name Vector because Scala imports scala.collection.immutable.Vector by default.

  3. package distributed

Ungrouped