Package

org.apache.spark.ml

linalg

Permalink

package linalg

Visibility
  1. Public
  2. All

Type Members

  1. class DenseMatrix extends Matrix

    Permalink

    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].

    Annotations
    @Since( "2.0.0" )
  2. class DenseVector extends Vector

    Permalink

    A dense vector represented by a value array.

    A dense vector represented by a value array.

    Annotations
    @Since( "2.0.0" )
  3. sealed trait Matrix extends Serializable

    Permalink

    Trait for a local matrix.

    Trait for a local matrix.

    Annotations
    @Since( "2.0.0" )
  4. class SparseMatrix extends Matrix

    Permalink

    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].

    Annotations
    @Since( "2.0.0" )
  5. class SparseVector extends Vector

    Permalink

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

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

    Annotations
    @Since( "2.0.0" )
  6. sealed trait Vector extends Serializable

    Permalink

    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
    @Since( "2.0.0" )

Value Members

  1. object DenseMatrix extends Serializable

    Permalink

    Factory methods for org.apache.spark.ml.linalg.DenseMatrix.

    Annotations
    @Since( "2.0.0" )
  2. object DenseVector extends Serializable

    Permalink
    Annotations
    @Since( "2.0.0" )
  3. object Matrices

    Permalink

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

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

    Annotations
    @Since( "2.0.0" )
  4. object SQLDataTypes

    Permalink

    :: DeveloperApi :: SQL data types for vectors and matrices.

    :: DeveloperApi :: SQL data types for vectors and matrices.

    Annotations
    @Since( "2.0.0" ) @DeveloperApi()
  5. object SparseMatrix extends Serializable

    Permalink

    Factory methods for org.apache.spark.ml.linalg.SparseMatrix.

    Annotations
    @Since( "2.0.0" )
  6. object SparseVector extends Serializable

    Permalink
    Annotations
    @Since( "2.0.0" )
  7. object Vectors

    Permalink

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

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

    Annotations
    @Since( "2.0.0" )

Members