I am getting ValueError: too many values to unpack (expected 2)
from this code:
(x_train, y_train), (x_test, y_test) = data
print(x_train.shape)
print(y_train.shape)
print(y_train[:3])
I checked similar questions in this error but couldn't solve it.
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, random_state=42)
to split the data, you can't assigndataframe
directly totuples
$\endgroup$