Y0

Latest version: v0.2.11

Safety actively analyzes 702276 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.4

What's Changed
* Fix calculating conditional independence by bgyori in https://github.com/y0-causal-inference/y0/pull/193
* Automate checking binary/continous data by cthoyt in https://github.com/y0-causal-inference/y0/pull/194
* Update high-level ID/IDC function and docs by cthoyt in https://github.com/y0-causal-inference/y0/pull/195

New Contributors
* bgyori made their first contribution in https://github.com/y0-causal-inference/y0/pull/193

**Full Changelog**: https://github.com/y0-causal-inference/y0/compare/v0.2.3...v0.2.4

0.2.1

The main update in this release is the implementation of TRSO from njmmerrill and all of the changes we made along the way. Many of them were in improving the way the DSL simplifies itself and operations on the mixed graph. This also includes an implementation of sigma-separation, the first version of an estimation workflow, and several new high-level example graphs/data generators.

What's Changed

* Fix sphinx 7.0 issues by cthoyt in https://github.com/y0-causal-inference/y0/pull/152
* Update c-component functionality by cthoyt in https://github.com/y0-causal-inference/y0/pull/154
* Implement `descendants_inclusive()` by cthoyt in https://github.com/y0-causal-inference/y0/pull/155
* Update conditional indepencencies by cthoyt in https://github.com/y0-causal-inference/y0/pull/153
* Add `NxMixedGraph.get_district()` by cthoyt in https://github.com/y0-causal-inference/y0/pull/157
* Add Markov blanket by cthoyt in https://github.com/y0-causal-inference/y0/pull/158
* Improve safe sums and products by cthoyt in https://github.com/y0-causal-inference/y0/pull/159
* Add missing scenario for empty products by cthoyt in https://github.com/y0-causal-inference/y0/pull/160
* Add napkin generator by cthoyt in https://github.com/y0-causal-inference/y0/pull/164
* Move disorient function by cthoyt in https://github.com/y0-causal-inference/y0/pull/165
* Reorganize examples and implement additional generators by cthoyt in https://github.com/y0-causal-inference/y0/pull/168
* Implement sigma-separation by cthoyt in https://github.com/y0-causal-inference/y0/pull/150
* Require `Sum` has a non-empty range by cthoyt in https://github.com/y0-causal-inference/y0/pull/169
* Make DSL construction safer by cthoyt in https://github.com/y0-causal-inference/y0/pull/170
* Fix bug in expansion functions by cthoyt in https://github.com/y0-causal-inference/y0/pull/171
* Add functions for interventions and outcomes by cthoyt in https://github.com/y0-causal-inference/y0/pull/172
* Improve probability strings by cthoyt in https://github.com/y0-causal-inference/y0/pull/173
* Enable sorting of expressions + disallow singleton products by cthoyt in https://github.com/y0-causal-inference/y0/pull/174
* Remove craig parser by cthoyt in https://github.com/y0-causal-inference/y0/pull/175
* Auto-sort product and implement Q sorting by cthoyt in https://github.com/y0-causal-inference/y0/pull/176
* Use shortcut notation for sum ranges in tests by cthoyt in https://github.com/y0-causal-inference/y0/pull/177
* Add latex support for level 2 probabilities by cthoyt in https://github.com/y0-causal-inference/y0/pull/179
* Use frozensets for ranges by cthoyt in https://github.com/y0-causal-inference/y0/pull/178
* Improve latex display of sums by cthoyt in https://github.com/y0-causal-inference/y0/pull/181
* Contract probability fractions into conditional probabilities by cthoyt in https://github.com/y0-causal-inference/y0/pull/182
* Add additional examples by cthoyt in https://github.com/y0-causal-inference/y0/pull/183
* Implement preorder getter by cthoyt in https://github.com/y0-causal-inference/y0/pull/184
* Implement checks for a-fixability and p-fixability by cthoyt in https://github.com/y0-causal-inference/y0/pull/185
* Add average causal effect workflow by cthoyt in https://github.com/y0-causal-inference/y0/pull/186
* Cleanup identification and estimation by cthoyt in https://github.com/y0-causal-inference/y0/pull/187
* Surrogate endpoints and transportability by cthoyt in https://github.com/y0-causal-inference/y0/pull/149
* Extend falsification to have configurable estimator by cthoyt in https://github.com/y0-causal-inference/y0/pull/188
* Update docs by cthoyt in https://github.com/y0-causal-inference/y0/pull/189


**Full Changelog**: https://github.com/y0-causal-inference/y0/compare/v0.2.0...v0.2.1

0.2.0

After a very long (almost two year) road, we have implemented a complete ID* and IDC* algorithm. This is based on [Shpitser and Pearl, 2012](https://arxiv.org/abs/1206.5294), however it fixes several issues with the original algorithm returning incorrect results.

What's Changed
* Generalize P() function by cthoyt in https://github.com/y0-causal-inference/y0/pull/57
* Small updates by cthoyt in https://github.com/y0-causal-inference/y0/pull/58
* Update graph I/O and mutation algorithms by cthoyt in https://github.com/y0-causal-inference/y0/pull/59
* More graph improvements to support ID/IDC by cthoyt in https://github.com/y0-causal-inference/y0/pull/60
* Improve canonicalization algorithm by cthoyt in https://github.com/y0-causal-inference/y0/pull/63
* Update type hints by cthoyt in https://github.com/y0-causal-inference/y0/pull/64
* Add safe constructors by cthoyt in https://github.com/y0-causal-inference/y0/pull/65
* Add canonicalized expression equals test by cthoyt in https://github.com/y0-causal-inference/y0/pull/66
* Pre-ID updates by cthoyt in https://github.com/y0-causal-inference/y0/pull/67
* Implement the ID and IDC algorithms by cthoyt in https://github.com/y0-causal-inference/y0/pull/46
* Implement bracket notation for probabilities with L2 interventions by cthoyt in https://github.com/y0-causal-inference/y0/pull/68
* Add y0 DSL output and generalize P() by cthoyt in https://github.com/y0-causal-inference/y0/pull/61
* Update draw graph by cthoyt in https://github.com/y0-causal-inference/y0/pull/77
* Expose distribution properties through probability DSL object by cthoyt in https://github.com/y0-causal-inference/y0/pull/82
* Enforce graphs are only on variables by cthoyt in https://github.com/y0-causal-inference/y0/pull/90
* Update expression in line 1 of identification by cthoyt in https://github.com/y0-causal-inference/y0/pull/89
* Add zero element to DSL by cthoyt in https://github.com/y0-causal-inference/y0/pull/96
* ⭐ Stars for everyone by cthoyt in https://github.com/y0-causal-inference/y0/pull/98
* Update marginalize and conditional functions in DSL by cthoyt in https://github.com/y0-causal-inference/y0/pull/100
* Add predicate to counterfactual variables for checking tautologies by cthoyt in https://github.com/y0-causal-inference/y0/pull/101
* Fix graph types in design algorithm by cthoyt in https://github.com/y0-causal-inference/y0/pull/107
* Add definition of "expression complexity" by cthoyt in https://github.com/y0-causal-inference/y0/pull/105
* Add 3.10 testing by cthoyt in https://github.com/y0-causal-inference/y0/pull/91
* Add generic simulation with Linear SCM by cthoyt in https://github.com/y0-causal-inference/y0/pull/108
* Make counterfactual variables' interventions' star status explicit by cthoyt in https://github.com/y0-causal-inference/y0/pull/111
* Refactor falsifications module by cthoyt in https://github.com/y0-causal-inference/y0/pull/113
* Update notebooks by cthoyt in https://github.com/y0-causal-inference/y0/pull/117
* Blacken notebooks by cthoyt in https://github.com/y0-causal-inference/y0/pull/119
* Update packaging and meta by cthoyt in https://github.com/y0-causal-inference/y0/pull/118
* Added ASKEM grant by djinnome in https://github.com/y0-causal-inference/y0/pull/126
* Fix tox.ini by cthoyt in https://github.com/y0-causal-inference/y0/pull/129
* Better canonicalize ordering by cthoyt in https://github.com/y0-causal-inference/y0/pull/131
* Add parallel worlds and counterfactual graphs by cthoyt in https://github.com/y0-causal-inference/y0/pull/128
* Automate testing notebooks by cthoyt in https://github.com/y0-causal-inference/y0/pull/132
* Counterfactual notebook by djinnome in https://github.com/y0-causal-inference/y0/pull/133
* Improve d-separation by cthoyt in https://github.com/y0-causal-inference/y0/pull/135
* Improve term canonicalization by cthoyt in https://github.com/y0-causal-inference/y0/pull/138
* Update minimum version to 3.10 by cthoyt in https://github.com/y0-causal-inference/y0/pull/141
* Handle overlapping interventions by cthoyt in https://github.com/y0-causal-inference/y0/pull/142
* Add tests for self-intervention by cthoyt in https://github.com/y0-causal-inference/y0/pull/143
* Fix bug in conditional() by cthoyt in https://github.com/y0-causal-inference/y0/pull/144
* Project cleanup by cthoyt in https://github.com/y0-causal-inference/y0/pull/146
* Update default graph draw by cthoyt in https://github.com/y0-causal-inference/y0/pull/147
* Implement ID* and IDC* by djinnome in https://github.com/y0-causal-inference/y0/pull/140


**Full Changelog**: https://github.com/y0-causal-inference/y0/compare/v0.1.0...v0.2.0

0.1.0

- Implement calculation of conditional independencies (29, thanks JosephCottam)
- Add causal fusion parser
- Implement Taheri Experimental Design workflow
- Add several mutation functions for probability distributions (10, 47)
- Begin using `black` code style

0.0.5

Add latent variable DAG and Robin Evans simplification algorithms

0.0.3

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.