Package Utils.Correlation
Class EM
- java.lang.Object
-
- Utils.Correlation.Correlation
-
- Utils.Correlation.EM
-
public class EM extends Correlation
Calculates LD using the expectation maximization method
-
-
Constructor Summary
Constructors Constructor Description EM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calculate(byte[] d1, byte[] d2)
Calculates the correlation between two arrays-
Methods inherited from class Utils.Correlation.Correlation
calculate, limitedtopn, limitedtopnvalues, topn, topnvalues
-
-
-
-
Method Detail
-
calculate
public double calculate(byte[] d1, byte[] d2)
Description copied from class:Correlation
Calculates the correlation between two arrays- Specified by:
calculate
in classCorrelation
- Parameters:
d1
- The first arrayd2
- The second array- Returns:
- The correlation
-
-