Package | Description |
---|---|
org.apache.flink.ml.math | |
org.apache.flink.ml.math.distributed |
Modifier and Type | Method and Description |
---|---|
SparseMatrix |
SparseMatrix.copy()
Copies the matrix instance
|
static SparseMatrix |
SparseMatrix.fromCOO(int numRows,
int numCols,
scala.collection.Iterable<scala.Tuple3<Object,Object,Object>> entries)
Constructs a sparse matrix from a coordinate list (COO) representation where each entry
is stored as a tuple of (rowIndex, columnIndex, value).
|
SparseMatrix |
SparseMatrix$.fromCOO(int numRows,
int numCols,
scala.collection.Iterable<scala.Tuple3<Object,Object,Object>> entries)
Constructs a sparse matrix from a coordinate list (COO) representation where each entry
is stored as a tuple of (rowIndex, columnIndex, value).
|
static SparseMatrix |
SparseMatrix.fromCOO(int numRows,
int numCols,
scala.collection.Seq<scala.Tuple3<Object,Object,Object>> entries)
Constructs a sparse matrix from a coordinate list (COO) representation where each entry
is stored as a tuple of (rowIndex, columnIndex, value).
|
SparseMatrix |
SparseMatrix$.fromCOO(int numRows,
int numCols,
scala.collection.Seq<scala.Tuple3<Object,Object,Object>> entries)
Constructs a sparse matrix from a coordinate list (COO) representation where each entry
is stored as a tuple of (rowIndex, columnIndex, value).
|
static SparseMatrix |
SparseMatrix.fromCOO(int numRows,
int numCols,
scala.Tuple3<Object,Object,Object> entry)
Convenience method to convert a single tuple with an integer value into a SparseMatrix.
|
SparseMatrix |
SparseMatrix$.fromCOO(int numRows,
int numCols,
scala.Tuple3<Object,Object,Object> entry)
Convenience method to convert a single tuple with an integer value into a SparseMatrix.
|
SparseMatrix |
SparseVector.outer(Vector other)
Returns the outer product (a.k.a.
|
SparseMatrix |
DenseMatrix.toSparseMatrix() |
Modifier and Type | Method and Description |
---|---|
SparseMatrix |
DistributedRowMatrix.toLocalSparseMatrix()
Collects the data in the form of a SparseMatrix.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.