function cvsplit_trajs

deeptime.decomposition.cvsplit_trajs(trajs, random_state=None)

Splits the trajectories into a training and test set with approximately equal number of trajectories

Parameters:
  • trajs (list of ndarray(int)) – Discrete trajectories

  • random_state (None or int or np.random.RandomState) – Random seed to use.