Nashpy
Nashpy copied to clipboard
A python library for 2 player games.
Add: - [ ] Tests with comparison to theoretic values of fixation - [ ] Tests with comparison to theoretic values with mutation - [ ] Add a test that...
Hi! I try to find equilibrium in 19x2 matrix, but an empty array with equilibrium is returned to me. Here is my code ```python game = nash.Game(Player1, Player2) try: equlibrium...
Looks like Github now lets you add a citation file which creates a nice Cite this repository widget. https://twitter.com/natfriedman/status/1420122675813441540
Currently the README has a guide, a longer reference section would be useful. When new pieces of CI get added they can be added to documentation as well.
The test `test_equivalence_between_symmetric_and_asymmetric_replicator_dynamics` located in `tests/test_replicator_dynamics.py` fails for larger matrices and for larger elements of the arrays. # Currently The test is currently implemented using `hypothesis` and generating `2x2` matrices...
In #100 stochastic fictitious play is implemented but it fails for large values pay off matrices due to an overflow error when computing the exponential of large numbers. ```python >>>...
#81 adds a docstring check for all methods but multiple files are excluded, this currently includes: - magic methods - test functions Need to add docstrings and remove the ignore...
The following test results in an exception: ``` def test_that_fails(self): A = np.array([[ 9.5, -7.8 ], [ -9.6, 0.3 ], [ -7.1, -1.4 ], [ 5.9, 7.6 ], [ 9,...