Class EM


  • public class EM
    extends Correlation
    Calculates LD using the expectation maximization method
    • Constructor Detail

      • EM

        public EM()
    • 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 class Correlation
        Parameters:
        d1 - The first array
        d2 - The second array
        Returns:
        The correlation