Package | Description |
---|---|
edu.ucla.sspace.matrix |
Modifier and Type | Method and Description |
---|---|
MatrixIO.Format |
MatrixFile.getFormat()
Returns the format of the matrix
|
MatrixIO.Format |
ClutoSparseMatrixBuilder.getMatrixFormat()
Returns {@link MatrixIO#Format.CLUTO_SPARSE.
|
MatrixIO.Format |
SvdlibcSparseBinaryMatrixBuilder.getMatrixFormat()
Returns
SVDLIBC_SPARSE_BINARY . |
MatrixIO.Format |
MatrixBuilder.getMatrixFormat()
Returns the data format for the matrix file.
|
MatrixIO.Format |
MatlabSparseMatrixBuilder.getMatrixFormat()
Returns
MATLAB_SPARSE . |
MatrixIO.Format |
ClutoDenseMatrixBuilder.getMatrixFormat()
Returns the data format for the matrix file.
|
static MatrixIO.Format |
MatrixIO.Format.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixIO.Format[] |
MatrixIO.Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static File |
MatrixIO.convertFormat(File matrix,
MatrixIO.Format current,
MatrixIO.Format desired)
Converts the format of the input
matrix , returning a temporary
file containing the matrix's data in the desired format. |
static File |
MatrixIO.convertFormat(File matrix,
MatrixIO.Format current,
MatrixIO.Format desired,
boolean transpose)
Converts the format of the input
matrix , returning a temporary
file containing the matrix's data in the desired format. |
static TransformStatistics.MatrixStatistics |
TransformStatistics.extractStatistics(File inputMatrixFile,
MatrixIO.Format format)
Extracts the full row, column, and matrix summations based on entries in
the given
Matrix file. |
static TransformStatistics.MatrixStatistics |
TransformStatistics.extractStatistics(File inputMatrixFile,
MatrixIO.Format format,
boolean countRowOccurrances,
boolean countColumnOccurrances)
Extracts the row, column, and matrix summations based on entries in
the given
Matrix . |
static FileTransformer |
MatrixIO.fileTransformer(MatrixIO.Format format)
|
static Iterator<MatrixEntry> |
MatrixIO.getMatrixFileIterator(File matrixFile,
MatrixIO.Format fileFormat)
Returns an iterator over the matrix entries in the data file.
|
protected GlobalTransform |
CorrelationTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
LogLikelihoodTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
LogEntropyTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
TfIdfTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
PointWiseMutualInformationTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected abstract GlobalTransform |
BaseTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
TfIdfDocStripedTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
protected GlobalTransform |
RowMagnitudeTransform.getTransform(File inputMatrixFile,
MatrixIO.Format format)
Returns a
GlobalTransform for a File of the given format. |
static Matrix |
MatrixIO.readMatrix(File matrix,
MatrixIO.Format format)
Converts the contents of a matrix file as a
Matrix object, using
the provided format as a hint for what kind to create. |
static Matrix |
MatrixIO.readMatrix(File matrix,
MatrixIO.Format format,
Matrix.Type matrixType)
Converts the contents of a matrix file as a
Matrix object, using
the provided type description as a hint for what kind to create. |
static Matrix |
MatrixIO.readMatrix(File matrix,
MatrixIO.Format format,
Matrix.Type matrixType,
boolean transposeOnRead)
Converts the contents of a matrix file as a
Matrix object, using
the provided type description as a hint for what kind to create. |
static double[][] |
MatrixIO.readMatrixArray(File input,
MatrixIO.Format format)
Deprecated.
|
static Matrix[] |
SVD.svd(File matrix,
MatrixIO.Format format,
int dimensions)
Deprecated.
|
static Matrix[] |
SvdlibjDriver.svd(File matrix,
MatrixIO.Format format,
int dimensions)
Computes the SVD of the matrix in the provided file in the specified
format.
|
static Matrix[] |
SVD.svd(File matrix,
SVD.Algorithm alg,
MatrixIO.Format format,
int dimensions)
Deprecated.
|
File |
BaseTransform.transform(File inputMatrixFile,
MatrixIO.Format format)
Transforms the matrix in the file using the an implemented method and
returns a temporary file containing the result.
|
File |
Transform.transform(File inputMatrixFile,
MatrixIO.Format format)
Transforms the matrix in the file using the an implemented method and
returns a temporary file containing the result.
|
File |
NoTransform.transform(File inputMatrixFile,
MatrixIO.Format format)
Transforms the matrix in the file using the an implemented method and
returns a temporary file containing the result.
|
void |
BaseTransform.transform(File inputMatrixFile,
MatrixIO.Format format,
File outputMatrixFile)
Transforms the input matrix using the implemented method and writes the
result to the file for the output matrix.
|
void |
Transform.transform(File inputMatrixFile,
MatrixIO.Format inputFormat,
File outputMatrixFile)
Transforms the input matrix using the implemented method and writes the
result to the file for the output matrix.
|
void |
NoTransform.transform(File inputMatrixFile,
MatrixIO.Format inputFormat,
File outputMatrixFile)
Transforms the input matrix using the implemented method and writes the
result to the file for the output matrix.
|
static void |
MatrixIO.writeMatrix(Matrix matrix,
File output,
MatrixIO.Format format)
Writes the matrix to the specified output file in the provided format
|
Copyright © 2012. All Rights Reserved.