I tried similar questions with solutions and none worked. Here is my code, I am trying to do ridge regression and am having an error with the train/test split:
#s