Replies: 1 comment 1 reply
-
|
The parameters of the game are controlled by keyword arguments of the Let's take the disposal cost example. This is controlled through the following two arguments of the disposal_cost: Union[np.ndarray, Tuple[float, float], float] = (0.0, 0.2),
disposal_cost_dev: Union[np.ndarray, Tuple[float, float], float] = (0.0, 0.02),The type of
The same is true for To fix the disposal cost for all steps, you just need to pass The same is true for other parameters. They can be fixed by controlling what passes to the One limitation we have with the current generate function is that you cannot fix a different disposal cost (for example) for each agent (or for each step). If you think this is useful, let me know and we will put it in our todos to extend class MyWorld(SCMLOneShotWOrld):
def generate(**kwargs):
d = super().generate(**kwargs):
for profile in profiles:
profile.disposal_cost_mean = ...
profile.disposal_cost_dev = ...You can now use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There are many random parameters. The more randomness there is in the simulation, the harder it is to learn. Maybe we can eliminate some randomness to make it more tractable. For instance, is it necessary to choose a random disposal cost before the game, and then vary that disposal cost throughout the game?
Beta Was this translation helpful? Give feedback.
All reactions