tweak Regression to allow None hyperparameters