ValueError: continuous-multioutput is not supported

前端 未结 2 615
我在风中等你
我在风中等你 2021-01-18 15:39

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 v

2条回答
  •  一整个雨季
    2021-01-18 16:29

    The end goal is to evaluate the performance of the model, you can use the model.evaluate method:

    _,accuracy = model.evaluate(our_data_feat, new_label2,verbose=0.0)
    print('Accuracy:%.2f'%(accuracy*100))
    

    This will give you the accuracy value.

提交回复
热议问题