Package | Description |
---|---|
org.apache.mahout.clustering.lda.cvb | |
org.apache.mahout.h2obindings | |
org.apache.mahout.math |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
org.apache.mahout.math.decomposer | |
org.apache.mahout.math.decomposer.lanczos | |
org.apache.mahout.math.hadoop | |
org.apache.mahout.math.hadoop.decomposer | |
org.apache.mahout.math.solver |
Modifier and Type | Method and Description |
---|---|
double |
ModelTrainer.calculatePerplexity(VectorIterable matrix,
VectorIterable docTopicCounts) |
double |
ModelTrainer.calculatePerplexity(VectorIterable matrix,
VectorIterable docTopicCounts,
double testFraction) |
void |
ModelTrainer.train(VectorIterable matrix,
VectorIterable docTopicCounts) |
void |
ModelTrainer.train(VectorIterable matrix,
VectorIterable docTopicCounts,
int numDocTopicIters) |
Modifier and Type | Class and Description |
---|---|
class |
H2OBlockMatrix
A Matrix implementation to represent a vertical Block of DRM.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Matrix
The basic interface including numerous convenience functions
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMatrix
A few universal implementations of convenience functions for a JVM-backed matrix.
|
class |
DenseMatrix
Matrix of doubles implemented using a 2-d array
|
class |
DenseSymmetricMatrix
Economy packaging for a dense symmetric in-core matrix.
|
class |
DiagonalMatrix |
class |
FileBasedMatrix
Provides a way to get data from a file and treat it as if it were a matrix, but avoids putting all that
data onto the Java heap.
|
class |
FileBasedSparseBinaryMatrix
Provides a way to get data from a file and treat it as if it were a matrix, but avoids putting
all that data onto the Java heap.
|
class |
MatrixView
Implements subset view of a Matrix
|
class |
PivotedMatrix
Matrix that allows transparent row and column permutation.
|
class |
RandomTrinaryMatrix
Random matrix.
|
class |
SparseColumnMatrix
Deprecated.
tons of inconsistences. Use transpose view of SparseRowMatrix for fast column-wise iteration.
|
class |
SparseMatrix
Doubly sparse matrix.
|
class |
SparseRowMatrix
sparse matrix with general element values whose rows are accessible quickly.
|
class |
TransposedMatrixView
Matrix View backed by an
IntIntFunction |
class |
UpperTriangular
Quick and dirty implementation of some
Matrix methods
over packed upper triangular matrix. |
Modifier and Type | Method and Description |
---|---|
static VectorIterable |
OrthonormalityVerifier.pairwiseInnerProducts(Iterable<MatrixSlice> basis) |
Modifier and Type | Method and Description |
---|---|
static void |
MatrixUtils.write(org.apache.hadoop.fs.Path outputDir,
org.apache.hadoop.conf.Configuration conf,
VectorIterable matrix) |
Modifier and Type | Method and Description |
---|---|
protected EigenStatus |
AsyncEigenVerifier.innerVerify(VectorIterable corpus,
Vector vector) |
EigenStatus |
AsyncEigenVerifier.verify(VectorIterable corpus,
Vector vector) |
EigenStatus |
SingularVectorVerifier.verify(VectorIterable eigenMatrix,
Vector vector) |
EigenStatus |
SimpleEigenVerifier.verify(VectorIterable corpus,
Vector vector) |
Modifier and Type | Field and Description |
---|---|
protected VectorIterable |
LanczosState.corpus
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
VectorIterable |
LanczosState.getCorpus()
Deprecated.
|
Constructor and Description |
---|
LanczosState(VectorIterable corpus,
int desiredRank,
Vector initialVector)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedRowMatrix
DistributedRowMatrix is a FileSystem-backed VectorIterable in which the vectors live in a
SequenceFile
|
Modifier and Type | Method and Description |
---|---|
static Vector |
DistributedLanczosSolver.getInitialVector(VectorIterable corpus)
Deprecated.
For the distributed case, the best guess at a useful initialization state for Lanczos we'll chose to be
uniform over all input dimensions, L_2 normalized.
|
void |
EigenVerificationJob.setEigensToVerify(VectorIterable eigens)
Deprecated.
|
Constructor and Description |
---|
HdfsBackedLanczosState(VectorIterable corpus,
int desiredRank,
Vector initialVector,
org.apache.hadoop.fs.Path dir) |
Modifier and Type | Method and Description |
---|---|
Vector |
ConjugateGradientSolver.solve(VectorIterable a,
Vector b)
Solves the system Ax = b with default termination criteria.
|
Vector |
ConjugateGradientSolver.solve(VectorIterable a,
Vector b,
Preconditioner precond)
Solves the system Ax = b with default termination criteria using the specified preconditioner.
|
Vector |
ConjugateGradientSolver.solve(VectorIterable a,
Vector b,
Preconditioner preconditioner,
int maxIterations,
double maxError)
Solves the system Ax = b, where A is a linear operator and b is a vector.
|
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.