📜  scikit 学习拆分数据集 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:57.833000             🧑  作者: Mango

代码示例1
import numpy as np
from sklearn.model_selection import train_test_split
X, y = np.arange(10).reshape((5, 2)), range(5)
X





list(y)