单项选择题

在sklearn 中,如何将数据集划分为训练集和测试集?()

A.使用train_test_split()函数
B.使用fit()函数
C.使用predict()函数
D.使用score()函数