I created a simple Feature Selection Loop (no test data) for a MLR model (image below). I’d like to use Adjusted R^2 for scoring models. Calculating this metric requires the number of predictors p, however the Numeric Scorer node does not seem pick up p from the workflow. Instead, p is a parameter (“number of predictors”) in the node. This doesn’t work in a Feature Selection Loop, because p changes in each iteration of the loop.
Is there a way to set p using flow variables, or are there other nodes that make it possible to use Adjusted R^2 for feature selection?