-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More example and visualization notebooks #813
Comments
I would like to assist in this issue, could you give me more information on what you need? |
Hi @nadia39 great to have you assist! If you take a look at this repository: https://github.com/Axelrod-Python/Axelrod-notebooks we have a number of Jupyter notebook examples showing a variety of things that can be done with the library. We're always looking for more examples which is what this issue is asking for. Perhaps take a look through the documentation http://axelrod.readthedocs.io/en/latest/ and see if you think there's anything specific worth adding as a Jupyter notebook? |
Is there a strategy where the player assumes that their opponent's probability of defecting is a Bernoulli variable, where the parameter is based on a Bayesian analysis of the opponent's previous moves? |
@SirRichter Not one that explicitly uses a Bayesian prior AFAIK. There are some strategies that attempt to determine the opponent's probability of cooperating in various ways, such as the running counts of the opponent's plays, which would correspond to some uninformative prior (Beta(0, 0) I guess) and then taking the posterior maximum. Feel free to implement such a strategy (ideally using scipy) and open a PR on the main repository. |
I've created one in Brazilian Portuguese: https://github.com/danilobellini/notebooks/blob/master/2018-11-10_Axelrod/2018-11-10_Axelrod.ipynb Shall I make a PR based on it? The stuff from there I may add in a PR are:
|
Hi @danilobellini! Great use of the library 👍 I've grabbed these screenshots from https://ncase.me/trust/: I don't immediately believe those strategies are implemented yet so they are welcome (although at a glance I'm not convinced that you've implemented Information about contributing is available here: https://axelrod.readthedocs.io/en/stable/tutorials/contributing/strategy/index.html The notebook would not go in this repository. |
We could use some more examples and demos in our notebooks repository. Just advertising for the other repository, please open PRs there.
The text was updated successfully, but these errors were encountered: