Class Mtrace_backward_moment

java.lang.Object
jline.api.trace.Mtrace_backward_moment

public final class Mtrace_backward_moment extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static Matrix
    mtrace_backward_moment(double[] T, int[] A, int[] orders, int norm)
    Backward moments of a marked trace as defined by the MATLAB reference (m3a/mtrace/mtrace_backward_moment.m): B(c,i) = E[T^k ; mark = c], divided by the class probability when norm is nonzero.
    static double
    mtrace_backward_moment_conditional(double[] interArrivalTimes, int[] classLabels, int conditioningClass, int order)
    Computes conditional backward moments given the forward recurrence time.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • mtrace_backward_moment

      public static Matrix mtrace_backward_moment(double[] T, int[] A, int[] orders, int norm)
      Backward moments of a marked trace as defined by the MATLAB reference (m3a/mtrace/mtrace_backward_moment.m): B(c,i) = E[T^k ; mark = c], divided by the class probability when norm is nonzero.
      Parameters:
      T - inter-arrival times
      A - class marks
      orders - moment orders
      norm - 0 for the unnormalized moments, 1 to divide by the class probability
      Returns:
      matrix B(c,i), classes in ascending mark order
    • mtrace_backward_moment_conditional

      public static double mtrace_backward_moment_conditional(double[] interArrivalTimes, int[] classLabels, int conditioningClass, int order)
      Computes conditional backward moments given the forward recurrence time.