下列模块中的函数,实现的逻辑回归模型原始数据集分割的代码段是:
A.
lr = LogisticRegression() lr.fit(X_train, y_train)
B.
X_train, X_test, y_train, y_test = model_selection.train_test_split(iris_data, iris_target, test_size=0.25, random_state=0)
C.
# 预测y的值 y_pred = lr.predict(X_test)