I have built a small Polynomial regression model and I tried to deploy the model into production system, which will use the coefficients from the model and predict the target variable using the real time data. But when I deployed the model, I found out that the predictions are coming out to be completely wrong. For example, the target variable should be around 60, but the model that I deployed was predicting in 400s. I used the test data that I used for predictor node in KNIME and compared the results I get from 1. KNIME predictor node and 2. After solving for the regression equation from the coefficients in Excel. I have attached all the required sample files. Please help me find out where the fault is. This is the first time I’m facing this issue. Thanks in advance.
Edit: I presume the regression equation should be Target = Coeff1 * Pred1 + Coeff2 * Pred2 + … + Coeff3 * Pred1 * Pred1 + Coeff4 * Pred2 * Pred2… and have applied the same equation in Excel for comparison. Please correct me if I’m wrong.
Solving for the regression equation.xlsx (13.6 KB) PolyReg Coefficient Discrepancy Workflow.knwf (140.1 KB)