How can I use a learned Polynomial Regression model on a training data set for prediction of a test data set ?
I tried instantiating two Polynomial Regression Learners in series, the first one connected to the training data set, and with its Regression Coefficients output (Blue square) connected to the PMML preprocessing input for the second Polynomial Regression learner, whose input "training data" port is connected to the test data set. In other words, I want the first Polynomial Regression Learner to be the learner, and the second one to be the predictor. However, this arrangement causes the second Polynomial Regression learner to also try to learn from the test data, which I do not want. I want to merely use the trained polynomial regression model purely as a predictor of the test data (i.e. by just plugging in the test data values and measuring error). How do I achieve this?