[D] Simple Questions Thread October 11, 2020
The predict function in Python is Y X * Beta, where Y is a column vector, X is the design matrix, and Beta is the column vector of parameters. You could definitely programmatically create the equation in the form that you want though. I don't what function/module you are using for your regression. Are you processing the data into polynomial features, then feeding that to a linear regression model? In this PolynomialFeatures preprocessing class, you can use the .get_feature_names()
Oct-17-2020, 04:01:09 GMT
- Technology: