define_penalty function

Define regularization object for predictor and external data.