Package jline.api.mam
Class Mmap3k_fit
java.lang.Object
jline.api.mam.Mmap3k_fit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult of a fit: the marked MAP and whether the marking is feasible. -
Method Summary
Modifier and TypeMethodDescriptionstatic int[][]markingOrders(int n, int z) (backward, forward) orders of an independent characteristic set.static Mmap3k_fit.Resultmmap3k_fit(Matrix D0, Matrix D1, double[] P, double[] F, double[] B, double[] B2) Marks a given MAP so that the per-class characteristics are matched.
-
Method Details
-
markingOrders
public static int[][] markingOrders(int n, int z) (backward, forward) orders of an independent characteristic set. -
mmap3k_fit
public static Mmap3k_fit.Result mmap3k_fit(Matrix D0, Matrix D1, double[] P, double[] F, double[] B, double[] B2) Marks a given MAP so that the per-class characteristics are matched.- Parameters:
D0- hidden transition matrix of the underlying MAPD1- visible transition matrix of the underlying MAPP- class probabilities, summing to oneF- first-order forward momentsB- first-order backward momentsB2- second-order backward moments, required from order three
-