py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
https://www.pywhy.org/dowhy
MIT License
6.89k stars 916 forks source link

Change default parameter of SVC model in the GCM module #1075

Closed bloebp closed 7 months ago

bloebp commented 7 months ago

Before, the Support Vector Classifier did not produce probabilities, which are required for different algorithms in the GCM module. This changes the 'probability' parameter to True.

kbattocchi commented 7 months ago

Should there be a test that covers this behavior?

bloebp commented 7 months ago

Should there be a test that covers this behavior?

Yes, definitely makes sense. Added a brief test