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
The end goal is to evaluate the performance of the model, you can use the model.evaluate method:
model.evaluate
_,accuracy = model.evaluate(our_data_feat, new_label2,verbose=0.0) print('Accuracy:%.2f'%(accuracy*100))
This will give you the accuracy value.