1)sklearn学习之train_test_split

代码 python from __future__ import print_function import numpy as np from sklearn.model_selection import train_test_split X, y = np.arange(10).reshape((5, 2)), range(5) print(X) # [[ 0 1] # [ 2 3] #
相关文章
相关标签/搜索