I am currently developing regression models to predict a variable y, which is a function of the variables X1, X2, ..., Xn.
However, in the practical application of the models, one of the X variables needs to be calculated based on a fixed value for y. What would be the best way to achieve this result? In parametric models I assume this could be achieved mathematically, but what about non-parametric models? Does it make sense to train the model considering the variable X as the result and y as one of the input variables?
Thanks!