Documentation
API docs
Other
Version
Splits the trajectories into a training and test set with approximately equal number of trajectories
trajs (list of ndarray(int)) – Discrete trajectories
random_state (None or int or np.random.RandomState) – Random seed to use.