ValueError: continuous-multioutput is not supported
问题 I want to run several regression types (Lasso, Ridge, ElasticNet and SVR) on a dataset with around 5,000 rows and 6 features. Linear regression. Use GridSearchCV for cross validation. The code is extensive but here are some critical parts: def splitTrainTestAdv(df): y = df.iloc[:,-5:] # last 5 columns X = df.iloc[:,:-5] # Except for last 5 columns #Scaling and Sampling X = StandardScaler().fit_transform(X) X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.8, random_state=0