Package jline.api.mam
Class Mamap2m_fit
java.lang.Object
jline.api.mam.Mamap2m_fit
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrix[]mamap2m_fit(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B, Matrix S) static Matrix[]mamap2m_fit(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B, Matrix S, double[] fbsWeights) Fits a MAPH(2,m) or MAMAP(2,m) matching the inter-arrival moments and decay rate, the class probabilities (always exactly) and, as far as the form allows, the forward moments, backward moments and class transition probabilities.static MatrixCellmamap2m_fit_gamma_fb(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B) MAMAP(2,m) fitted on the forward and backward moments only, used when the number of classes exceeds two (mamap2m_fit_gamma_fb.m).
-
Method Details
-
mamap2m_fit
-
mamap2m_fit
public static Matrix[] mamap2m_fit(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B, Matrix S, double[] fbsWeights) Fits a MAPH(2,m) or MAMAP(2,m) matching the inter-arrival moments and decay rate, the class probabilities (always exactly) and, as far as the form allows, the forward moments, backward moments and class transition probabilities.- Parameters:
fbsWeights- weights of forward moments, backward moments and sigma
-
mamap2m_fit_gamma_fb
public static MatrixCell mamap2m_fit_gamma_fb(double M1, double M2, double M3, double GAMMA, double[] P, double[] F, double[] B) MAMAP(2,m) fitted on the forward and backward moments only, used when the number of classes exceeds two (mamap2m_fit_gamma_fb.m).
-