public class LogLikelihoodTransform.LogLikelihoodGlobalTransform extends Object implements GlobalTransform
Constructor and Description |
---|
LogLikelihoodTransform.LogLikelihoodGlobalTransform(File inputMatrixFile,
MatrixIO.Format format)
Creates an instance of
LogLikelihoodTransform
from a matrix File of format format . |
LogLikelihoodTransform.LogLikelihoodGlobalTransform(Matrix matrix)
Creates an instance of
LogLikelihoodTransform from a given
Matrix . |
Modifier and Type | Method and Description |
---|---|
double |
transform(int row,
int col,
double value)
Computes the Log Likelihood information between the
row
and col with value specifying the number of
occurances of row with col . |
public LogLikelihoodTransform.LogLikelihoodGlobalTransform(Matrix matrix)
LogLikelihoodTransform
from a given
Matrix
.public LogLikelihoodTransform.LogLikelihoodGlobalTransform(File inputMatrixFile, MatrixIO.Format format)
LogLikelihoodTransform
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 GlobalTransform
row
- The index specifying the row being observedcol
- The index specifying the col being observedvalue
- The number of ocurrances of row and col togetherrow
, column
Copyright © 2012. All Rights Reserved.