Skip to content

Releases: causalincentives/pycid

Update types to make optional types explicit

19 Sep 10:48
23666f9
Compare
Choose a tag to compare

This release fixes the failing linting tests by update types to make optional types explicit.

Improve macid to efg transformation

09 Oct 21:04
Compare
Choose a tag to compare

This release significantly improves the efficiency of the MACID to EFG transformation for the get_spe() function.

Mixed Nash Equilibria in N-agent games

29 Sep 19:05
Compare
Choose a tag to compare

This release adds methods for computing mixed Nash equilibria and mixed subgame perfect equilibria (for an arbitrary number of players) using the pygambit library.

Backwards compatibility Notes:
Note that this breaks backwards compatibility by removing the get_all_pure_ne, get_all_pure_ne_in_sg, and get_all_pure_spe class methods from the MACID class. This is because pure variants of NE and SPE can be found by simply selecting the "enumpure" solver as an argument in the new get_ne, get_ne_in_sg, and get_spe MACID class methods.

Exposes layout as a keyword argument in Causal Bayesian Network's draw method

22 Feb 21:02
Compare
Choose a tag to compare

This version:

  • exposes layout as a keyword argument in Causal Bayesian Network's draw method. This allows the user to try alternative layout algorithms (compared with the Kamada-Kawai default).
  • fixes various setup and PyPI bugs

add sampling method

05 Jan 13:48
Compare
Choose a tag to compare

add the method CausalBayesianNetwork.sample()

CPD arguments must now match case of parent names

21 Dec 10:10
Compare
Choose a tag to compare

This release breaks backwards compatibility by forcing the arguments for CPDs to match the case of the names of the parent variables. Previously, the lowercase version of the parent names were used, which lead to less intuitive model specification and more complex and brittle code.

Force pgmpy to be version 0.1.13

13 Jul 21:29
Compare
Choose a tag to compare

Later versions of pgmpy create bugs in PyCID

  • until these are resolved, PyCID will use pgmpy version 0.1.13

Add random (MA)CIDs

12 Jul 19:58
Compare
Choose a tag to compare
v0.2.7

update doc string

Performance improvements and random_dag

31 Mar 13:12
Compare
Choose a tag to compare

Add quantitative VOC function and Causal Bayesian Network Class

22 Mar 21:34
Compare
Choose a tag to compare

In this release, we provide:

  • a function that computes the quantitative value of control.
  • a CausalBayesianNetwork class for defining causal Bayesian networks (many of the methods previously housed in the MACIDBase class now sit within CausalBayesianNetwork and MACIDBase inherits from CausalBayesianNetwork)