|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.math.MatrixStats
Copyright (c) 2004 Columbia University
| Constructor Summary | |
MatrixStats()
|
|
| Method Summary | |
static DenseDoubleMatrix2DNamed |
correlationMatrix(AbstractNamedDoubleMatrix data)
|
static SparseDoubleMatrix2DNamed |
correlationMatrix(AbstractNamedDoubleMatrix data,
double threshold)
|
static void |
countsNormalize(AbstractNamedDoubleMatrix matrixToNormalize,
double sigma)
Normalize a count matrix in place to be a transition matrix. |
static double |
max(AbstractNamedDoubleMatrix matrix)
Compute the maximum value in the matrix. |
static double |
min(AbstractNamedDoubleMatrix matrix)
Find the minimum of the entire matrix. |
static void |
rbfNormalize(AbstractNamedDoubleMatrix matrixToNormalize,
double sigma)
Normalize a matrix in place to be a transition matrix. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MatrixStats()
| Method Detail |
public static DenseDoubleMatrix2DNamed correlationMatrix(AbstractNamedDoubleMatrix data)
data - DenseDoubleMatrix2DNamed
public static SparseDoubleMatrix2DNamed correlationMatrix(AbstractNamedDoubleMatrix data,
double threshold)
data - DenseDoubleMatrix2DNamedthreshold - only correlations with absolute values above this level are stored.
public static double min(AbstractNamedDoubleMatrix matrix)
matrix - DenseDoubleMatrix2DNamed
public static double max(AbstractNamedDoubleMatrix matrix)
matrix - DenseDoubleMatrix2DNamed
public static void rbfNormalize(AbstractNamedDoubleMatrix matrixToNormalize,
double sigma)
Each point is first transformed via v' = exp(-v/sigma). Then the values for each node's edges are adjusted to sum to 1.
matrixToNormalize - sigma - a scaling factor for the input values.
public static void countsNormalize(AbstractNamedDoubleMatrix matrixToNormalize,
double sigma)
matrixToNormalize - sigma -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||