y = np.array([0, 1, 2]) from sklearn.utils import shuffle X, y = shuffle(X, y, random_state=0). This does not shuffle the two arrays in-place.
確定! 回上一頁