From df296a648979d0905a03ef23d74c2aa3a544c16c Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Fri, 27 Oct 2023 12:05:51 -0700 Subject: [PATCH] fix unit test --- .../azure/synapse/ml/causal/BaseDiffInDiffEstimator.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/com/microsoft/azure/synapse/ml/causal/BaseDiffInDiffEstimator.scala b/core/src/main/scala/com/microsoft/azure/synapse/ml/causal/BaseDiffInDiffEstimator.scala index c263cbf3d5..fcb10389e5 100644 --- a/core/src/main/scala/com/microsoft/azure/synapse/ml/causal/BaseDiffInDiffEstimator.scala +++ b/core/src/main/scala/com/microsoft/azure/synapse/ml/causal/BaseDiffInDiffEstimator.scala @@ -62,7 +62,7 @@ abstract class BaseDiffInDiffEstimator(override val uid: String) .setLabelCol(getOutcomeCol) .setFitIntercept(fitIntercept) .setLoss("squaredError") - .setRegParam(0.0) + .setRegParam(1E-10) assembler.transform _ andThen regression.fit apply df }