Package jline.api.trace
Class Mtrace_backward_moment
java.lang.Object
jline.api.trace.Mtrace_backward_moment
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixmtrace_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 doublemtrace_backward_moment_conditional(double[] interArrivalTimes, int[] classLabels, int conditioningClass, int order) Computes conditional backward moments given the forward recurrence time.
-
Method Details
-
mtrace_backward_moment
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 timesA- class marksorders- moment ordersnorm- 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.
-