Package jline.api.mam

Class Mmap_count_moment

java.lang.Object
jline.api.mam.Mmap_count_moment

public final class Mmap_count_moment extends Object
  • Method Details

    • mmap_count_moment

      public static Matrix mmap_count_moment(MatrixCell MMAP, double t, int[] orders)
      Per-class power moments of counts, at resolution t, of a Marked MAP.

      For each class k the marginal MAP is {D0 + sum_{j!=k} D1_j, D1_k} (all non-class-k transitions are folded into the hidden generator), and its count moments are obtained from Map_count_moment.map_count_moment(jline.util.matrix.MatrixCell, double, int).

      Parameters:
      MMAP - marked MAP: {D0, D1, D1_1, ..., D1_K}
      t - resolution
      orders - orders of the moments to compute
      Returns:
      matrix of size (orders.length x K); column k holds the moments for class k