- Fix missing grid item entry for counterfactual fairness
- Add notebooks to the grid of examples that were missing
- Move some API related notebooks to Miscellaneous
- Add sales attribution notebook
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
- Removed certain notebooks frome exclusion list
- Fixed issue where the image for the counterfactual fairness notebook was not shown
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Changing from
"Getting Starte" - "User Guide" - "Examples" - "dowhy package" - "Contributing" - "Release notes" - "Citing this package"
to
"Getting Starte" - "User Guide" - "Examples" - "Citing this package" - "Contributing" - "Dowhy package" "Release notes"
Here, the last two entries are now 'hidden' under a "more" tab, i.e., putting the more important information to the front. Source references might be easier to find via the search function.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
- Update python dependencies
- Add compatibility with Python 3.12
- Modify CI workflow to address doc building issues
- Change time until an issue becomes inactive
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Based on the context of the codes, the variable 'categorical' should be passed in the function call of '_estimate_conditional_expectations' instead of the method 'is_categorical'
Signed-off-by: Yangliu-SY <144334404+Yangliu-SY@users.noreply.github.com>
* Library functions for temporal causal functionality
* shifting plotter function
* printing graph: best practices
* added docstrings
* moved datasets
* updated tutorial notebook
* sphinx documentation
* updated shifting columns with 0,1,..,max_lag
* support for dot format
* tigramite support
* updated filter to be a hidden function
* black and isort utils
* black and isort timeseries
* updated notebook text
Signed-off-by: Amit Sharma <amit_sharma@live.com>
* integer range fix
* correction in timestamp : notebook text
* time lagged causal estimation
* removed cell outputs
* find ancestors
* include ancestors in notebook
* formatting changes
* comments : notebook
* multiple time lags : csv graph'
* multiple time lags
* unrolled graph using bfs
* cleanup of functions
* removed find parents and ancestors
* tests for causal graph creation
* tests for adding lagged edges
* tests for shifting columns
* tigramite dependency added
---------
Signed-off-by: Amit Sharma <amit_sharma@live.com>
Co-authored-by: Amit Sharma <amit_sharma@live.com>
Add example notebook for counterfactual fairness using GCM
Following the paper Estimates Counterfactual Fairness following Kusner et al. (2018)
---------
Signed-off-by: Kriti Mahajan <kritimhj@amazon.com>
This should significantly speed up some calculations for larger graphs. In this regard, also increased the default samples for the anomaly attribution to balance the reduced number of Shapley run.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Taking less samples to estimate ICC. This might lead to higher variance in the estimate, but speeds it up by multiple factors.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Before, when a causal graph had causal mechanisms assigned, they were also used when creating a new GCM object based on it. Now, they are removed (from a copied version of the graph).
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
The method merges p-values by taking the minimum of the adjusted p-values. This then represents a p-value for a global hypothesis.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
* [DOC] fix typo
Signed-off-by: yogabonito <yogabonito@users.noreply.github.com>
* [DOC] small fix
The text first informs that PC, FCI, and GES will be considered, but instead of FCI the notebook shows LiNGAM.
Signed-off-by: yogabonito <yogabonito@users.noreply.github.com>
---------
Signed-off-by: yogabonito <yogabonito@users.noreply.github.com>
This is very closely related to the RescaledMedianCDFQuantileScorer but a statistically more well-defined approach. However, it is also slightly more conservative for small sample sizes.
Furthermore, it changes the way equal samples are counted in MedianCDFQuantileScorer by also including the test sample itself. This prevents a p-value of 0.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Before, we were loading it directly from the UCI dataset repository. However, this cause connection issues and build fails. The dataset is now added directly with its respective license.
Further, removed the output of the causal discovery example notebook to ensure that it gets compiled while building.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
Before, a single p-value still got adjusted using the 2 * ... formula, which led to an unnecessary adjustment.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>