sklearn.model_selection中train_test_split()函数
train_test_split()是sklearn.model_selection中的分离器函数,用于将数组或矩阵划分为训练集和测试集,函数样式为:X_train, X_test, y_train, y_test = train_test_split(train_data, train_target, test_size, random_state,shuffle)参数解释:train_...
原创
2018-11-03 13:42:29 ·
21278 阅读 ·
2 评论