def delay_preds_2d(X, delay=100, skip=2, subsample=1, start=0, jump=None):
    if jump is None:
        jump = range(0, delay, skip)
    Ns, Ne = X.shape
    Ns_subsampled = len(range(start, Ns, subsample))
    out = np.zeros((Ns_subsampled, len(jump), Ne))
    for i, sk in enumerate(jump):
        chunk = X[0:(Ns - sk)][start::subsample]
        out[(Ns_subsampled-chunk.shape[0]):, i, :] = chunk
    return out[:, ::-1, :]
Create TMP_DIR for TestCase.
dataset/ETHPy150Open alexandrebarachant/Grasp-and-lift-EEG-challenge/preprocessing/aux.py/delay_preds_2d--crossover with--dataset/ETHPy150Open tony/vcspull/vcspull/testsuite/helpers.py/ConfigTestMixin._createConfigDirectory