tick.preprocessing.
LongitudinalSamplesFilter
(n_jobs=-1)[source]¶labels are null over the entire observation period.
n_jobs : int
, default=-1
Number of tasks to run in parallel. If set to -1, the number of tasks is set to the number of cores.
[0., 0., 0.], [0., 0., 1.]]), array([[1., 1., 0.], [0., 0., 1.], [0., 0., 0.]])]
>>> labels
[array([0, 1, 0], dtype=uint64), array([0, 0, 0], dtype=uint64)]
>>> censoring
array([3, 2], dtype=uint64)