Text this: An entropy approach to tuning weights and smoothing in the generalized inversion.