Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks Björn. Could you please provide more info regarding "with various ideas like shrinking towards the mean to help avoid overfitting/target leakage"? As for the suitable splines, maybe I will try to find a spline with a monotonic trend (not sure if there is only one or not).