Package jline.api.mam

Class Maph2m_fit

java.lang.Object
jline.api.mam.Maph2m_fit

public final class Maph2m_fit extends Object
  • Method Details

    • maph2m_fit

      public static MatrixCell maph2m_fit(double M1, double M2, double M3, Matrix P, Matrix B)
      Computes the second-order MAPH[m] fitting given moments, class probs, and backward moments.
    • maph2m_fit_multiclass

      public static kotlin.Pair<MatrixCell,Matrix> maph2m_fit_multiclass(MatrixCell aph, Matrix P, Matrix B)
      Fits MAPH(2,m) for multiple classes given underlying APH(2), class probabilities, and backward moments.