Adaptive Sample Sharing for Linear Regression