Adaptive regression of two types.