These are chat archives for drvinceknight/agent-based-learn

13th
Aug 2015
cesaresparza
@cesaresparza
Aug 13 2015 05:44
Hi @drvinceknight the code is now graphing
Vince Knight
@drvinceknight
Aug 13 2015 06:22
Well Done!
Is it behaving as expected?
cesaresparza
@cesaresparza
Aug 13 2015 06:26
Yes , but I think it is converging very soon
and also just as a test I tried inputing a payoff matrix from the Axelrod tournament you shared the other day, but it threw me an error
Vince Knight
@drvinceknight
Aug 13 2015 06:28
Did you actually create a bi matrix from the output of Axelrod?
By default that spits out just the payoffs for player 1.
But yeah figure out the error.
cesaresparza
@cesaresparza
Aug 13 2015 06:29
I didnt produce one, I took an example from there just for trying it
Vince Knight
@drvinceknight
Aug 13 2015 06:33
Ok, you're going to need to debug that. Could be an error when there are more than 2 strategies.
cesaresparza
@cesaresparza
Aug 13 2015 07:05
Ok
it gives me this TypeError: 'float' object has no attribute 'getitem'
Vince Knight
@drvinceknight
Aug 13 2015 07:07
Yeah that sounds like you've input things wrong. Looks like it's trying to iterate over a number instead of a list.
You're going to have to figure this out yourself, to debug include print statements in various parts of the code and see when something goes wrong.
cesaresparza
@cesaresparza
Aug 13 2015 07:08
I see
Yes
:)