I am trying to create one machine learning model using Kernel ridge regression with k-fold but I am getting the below error. Much appreciate for your informations-
datasetTrain = pd.read_csv('D:/set_AB.csv')
datasetTest = pd.read_csv('D:/set_C.csv')
X = datasetTrain
y = datasetTest
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
I am getting the following error----
ValueError: Found input variables with inconsistent numbers of samples: [140, 70]
enter code here