Package | Description |
---|---|
edu.ucla.sspace.clustering | |
edu.ucla.sspace.matrix | |
edu.ucla.sspace.matrix.factorization |
Modifier and Type | Method and Description |
---|---|
static List<edu.ucla.sspace.clustering.ClusteringByCommittee.CandidateCommittee> |
ClusteringByCommittee.buildCommitteesForRow(Collection<Integer> rows,
SparseMatrix sm,
double avgLinkMergeThresh)
Builds a set of candidate committees from the clusters formed by the
average-link clustering of the provided rows.
|
protected double |
LinkClustering.getEdgeSimilarity(SparseMatrix sm,
LinkClustering.Edge e1,
LinkClustering.Edge e2)
Computes the similarity of the two edges as the Jaccard index of the
neighbors of two impost nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
AtomicGrowingSparseHashMatrix
A concurrent, thread-safe, growable
SparseMatrix class that is
optimized for operations only access one value of the matrix at a time. |
class |
AtomicGrowingSparseMatrix
A concurrent, thread-safe, growable
SparseMatrix class. |
class |
CellMaskedSparseMatrix
This
SparseMatrix decorator allows every row and column index to be
remapped to new indices. |
class |
DiagonalMatrix
A special-case
Matrix implementation for diagonal matrices. |
class |
GrowingSparseMatrix
A growing sparse
Matrix based on the Yale Sparse Matrix Format. |
class |
RowScaledSparseMatrix
A decorator over
SparseMatrix s. |
class |
SparseHashMatrix
A
SparseMatrix backed by vectors that provide amortized O(1) access
to their elements. |
class |
SparseOnDiskMatrix
A
SparseMatrix implementation that uses a binary file to read and
write. |
class |
SparseRowMaskedMatrix
A tiled view of a
SparseMatrix instance where selected rows of the
instance a represented as a single, contiguous matrix. |
class |
SparseSymmetricMatrix
A decorator around a
SparseMatrix that keeps only the upper
triangular values while providing a symmetric view of the data. |
class |
SynchronizedSparseMatrix
A
SparseMatrix decorator class that provides thread safe access to a
backing SparseMatrix instance. |
class |
YaleSparseMatrix
A sparse
Matrix based on the Yale Sparse Matrix Format, as
implemented in CompactSparseVector . |
Modifier and Type | Method and Description |
---|---|
static <T extends SparseDoubleVector> |
Matrices.asSparseMatrix(List<T> vectors)
Returns a
SparseMatrix from a list of SparseDoubleVector s. |
static <T extends SparseDoubleVector> |
Matrices.asSparseMatrix(List<T> vectors,
int columns)
Returns a
SparseMatrix from a list of SparseDoubleVector s. |
Modifier and Type | Method and Description |
---|---|
void |
MatrixFactorization.factorize(SparseMatrix m,
int numDimensions)
Factorizes the
SparseMatrix m . |
static AtomicMatrix |
Matrices.synchronizedSparseMatrix(SparseMatrix m)
Returns a synchronized (thread-safe) matrix backed by the provided
SparseMatrix . |
Constructor and Description |
---|
CellMaskedSparseMatrix(SparseMatrix matrix,
int[] rowMaskMap,
int[] colMaskMap)
Creates a new
CellMaskedSparseMatrix from a given SparseMatrix and maps, one for the row indices and one for the column
indices. |
RowScaledSparseMatrix(SparseMatrix matrix,
DoubleVector v)
Creates a
RowScaledSparseMatrix that provides scaled read only
access to the provided SparseMatrix instance. |
SparseRowMaskedMatrix(SparseMatrix matrix,
BitSet included)
Creates a partial view of the provided sparse matrix using the bits set
to
true as the rows that should be included |
SparseRowMaskedMatrix(SparseMatrix matrix,
int[] reordering)
Creates a partial view of the provided sparse matrix using the the
integer mapping to specify which rows should be included in the matrix.
|
SparseRowMaskedMatrix(SparseMatrix matrix,
Set<Integer> included)
Creates a partial view of the provided sparse matrix using the integers
in the set to specify which rows should be included in the matrix.
|
SparseSymmetricMatrix(SparseMatrix backing)
Constructs a sparse matrix with the specified dimensions.
|
SynchronizedSparseMatrix(SparseMatrix matrix)
Creates a
SynchronizedSparseMatrix that provides thread-safe access to
the provided SparseMatrix instance. |
Modifier and Type | Method and Description |
---|---|
void |
NonNegativeMatrixFactorizationOPL.factorize(SparseMatrix m,
int numDimensions)
Factorizes the
SparseMatrix m . |
void |
SingularValueDecompositionMatlab.factorize(SparseMatrix matrix,
int dimensions) |
void |
NonNegativeMatrixFactorizationMultiplicative.factorize(SparseMatrix matrix,
int numDimensions)
Factorizes the
SparseMatrix m . |
void |
SingularValueDecompositionOctave.factorize(SparseMatrix matrix,
int dimensions) |
void |
SingularValueDecompositionLibC.factorize(SparseMatrix matrix,
int dimensions)
Factorizes the
SparseMatrix m . |
void |
SingularValueDecompositionLibJ.factorize(SparseMatrix matrix,
int dimensions)
Factorizes the
SparseMatrix m . |
Copyright © 2012. All Rights Reserved.