public class PointWiseMutualInformationTransform.PointWiseMutualInformationGlobalTransform extends Object implements GlobalTransform
| Constructor and Description |
|---|
PointWiseMutualInformationTransform.PointWiseMutualInformationGlobalTransform(File inputMatrixFile,
MatrixIO.Format format)
Creates an instance of
PointWiseMutualInformationTransform
from a matrix File of format format. |
PointWiseMutualInformationTransform.PointWiseMutualInformationGlobalTransform(Matrix matrix)
Creates an instance of
PointWiseMutualInformationTransform
from a given Matrix. |
| Modifier and Type | Method and Description |
|---|---|
double |
transform(int row,
int col,
double value)
Computes the point wise-mutual information between the
row
and col with value specifying the number of
occurances of row with col. |
public PointWiseMutualInformationTransform.PointWiseMutualInformationGlobalTransform(Matrix matrix)
PointWiseMutualInformationTransform
from a given Matrix.public PointWiseMutualInformationTransform.PointWiseMutualInformationGlobalTransform(File inputMatrixFile, MatrixIO.Format format)
PointWiseMutualInformationTransform
from a matrix File of format format.public double transform(int row,
int col,
double value)
row
and col with value specifying the number of
occurances of row with col. This is
approximated based on the occurance counts for each row and
col.transform in interface GlobalTransformrow - The index specifying the row being observedcol - The index specifying the col being observedvalue - The number of ocurrances of row and col togetherCopyright © 2012. All Rights Reserved.