Package jline.api.trace
Class Mtrace_split
java.lang.Object
jline.api.trace.Mtrace_split
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]mtrace_split(double[] T, int[] L) Given a multi-class trace with inter-arrivals T and labels L, creates the separate per-class traces.
-
Method Details
-
mtrace_split
public static double[][] mtrace_split(double[] T, int[] L) Given a multi-class trace with inter-arrivals T and labels L, creates the separate per-class traces. In each per-class trace the inter-arrivals are inter-arrivals between events of the same class.- Parameters:
T- vector of inter-arrival timesL- vector of class labels- Returns:
- array where the c-th element contains the vector of inter-arrival times for class c
-