What function randomly splits a data set into training and testing subsets?单项选择题
A
train_test(split=x)
B
cross_val_predict()
C
train_test_split()
D
cross_val_score()
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
What is the purpose of performing a train/test split?
What is the purpose of performing a train/test split?
Consider the following Python code: X_train, X_test, y_train, y_test = train_test_split( X, y, test_size=0.2, random_state=42 ) If the original dataset contains 1,000 observations, how many will be in the training set?
In the prac, what does test_size=0.4 in train_test_split() mean?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!