How to get regression equation?

107 Views Asked by At

I am using PyCaret for comparison of regression models on my data. After blending of the top 3 models, how can I get the final regression equation(model) of the blender? Please help!!

1

There are 1 best solutions below

1
Minnikeswar Rao On

lets say lr is the classifier and equation you want is mx+b, you can get:

m=lr.Coef_

b=lr.Intercept_