fixed a bug in the RegressionFactory about the default regularization weight.