Package jline.api.mam

Class Mmap2k_fit

java.lang.Object
jline.api.mam.Mmap2k_fit

public final class Mmap2k_fit extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Result of a fit: the MMAP and whether the closed form matched exactly.
  • Method Summary

    Modifier and Type
    Method
    Description
    mmap2k_fit(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B)
    Fits an MMAP(2,K) to the inter-arrival moments, the autocorrelation decay rate and the per-class probabilities, forward moments and backward moments.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • mmap2k_fit

      public static Mmap2k_fit.Result mmap2k_fit(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B)
      Fits an MMAP(2,K) to the inter-arrival moments, the autocorrelation decay rate and the per-class probabilities, forward moments and backward moments.
      Parameters:
      M1 - first raw moment of the inter-arrival times
      M2 - second raw moment
      M3 - third raw moment
      GAMMA - autocorrelation decay rate
      P - class probabilities, summing to one
      F - first-order forward moments, with sum_c P[c] F[c] = M1
      B - first-order backward moments, with sum_c P[c] B[c] = M1