Question: X _ train, X _ test, y _ train, y _ test = train _ test _ split ( X , y , test _

X_train, X_test, y_train, y_test = train_test_split(X, y , test_size=0.30, random_state=1234)
Value error: Found input variables with incomsistent number of samples: [20555,1]
what is solution on this issue of vallue error?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!