-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DML .setFitIntercept should be set to true in final stage linear model #1869
Comments
Hey @sarahshy 👋! |
* Fix bug #1869, DML .setFitIntercept should be set to true * don't need to check integerType as it can work for both classification and regression mdoel * fix type checking * only support boolean for calssification model * we should support 0/1 integert column with classification model * add two test cases
@mhamilton723 and @dylanw-oss, I see this issue has been addressed in #1876. Do we have a new build of the library that @sarahshy can use? |
yes, the master branch build should have the fix, "com.microsoft.azure:synapseml-core_2.12:0.11.0-19-87e1c786-SNAPSHOT" |
@sarahshy can you try using this new build? "com.microsoft.azure:synapseml-core_2.12:0.11.0-19-87e1c786-SNAPSHOT" |
we can close this issue on behalf of Sarah. |
SynapseML/core/src/main/scala/com/microsoft/azure/synapse/ml/causal/DoubleMLEstimator.scala
Line 259 in 62c79d8
Currently .setFitIntercept is set to false, which will force the intercept to be 0. This should be changed to true as it may change the estimate for the slope in the residuals linear model.
@dylanw-oss
The text was updated successfully, but these errors were encountered: