A general framework for prediction in penalized regression. (August 2021)