public class CorrelationTransform.CorrelationGlobalTransform extends Object implements GlobalTransform
| Constructor and Description |
|---|
CorrelationTransform.CorrelationGlobalTransform(File inputMatrixFile,
MatrixIO.Format format)
|
CorrelationTransform.CorrelationGlobalTransform(Matrix matrix)
Creates an instance of
CorrelationTransform from a Matrix. |
| Modifier and Type | Method and Description |
|---|---|
double |
transform(int row,
int column,
double value)
Computes the correlation, scaled using the square root, between item
row and feature column where value specifies
the number of occurances. |
public CorrelationTransform.CorrelationGlobalTransform(Matrix matrix)
CorrelationTransform from a Matrix.public CorrelationTransform.CorrelationGlobalTransform(File inputMatrixFile, MatrixIO.Format format)
public double transform(int row,
int column,
double value)
row and feature column where value specifies
the number of occurances. If value is zero, the correlation
is zero.transform in interface GlobalTransformrow - The index specifying the item being observedcolumn - The index specifying the feature being observedvalue - The number of occurance of the item and featureCopyright © 2012. All Rights Reserved.