the package isn't working if you have the solution please tell me
Answered by Coder100 [earned 5 cycles]
Hello. I found your error!
You forgot a parenthesis.
from sklearn import datasets from sklearn.model_selection import train_test_split iris = datasets.load_iris() features = iris.data labels = iris.target features_train, features_test, labels_train, labels_test, = train_test_split(features, labels, test_size=.5) print(features_train)