Regularizing linear regression using shrinkage