Package jline.api.mam
Class Maph2m_fit
java.lang.Object
jline.api.mam.Maph2m_fit
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixCellmaph2m_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.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.
-
Method Details
-
maph2m_fit
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.
-