Skip to content

Playground for social decision models in Unity

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

vagechirkov/SocialDecisionAgent

Repository files navigation

This repository uses GitLFS. Make sure that you have GitLFS installed on your machine before cloning the repository.

Social Decision Making

Installation

Import package from GitHub

  1. Open the Package Manager in Unity editor: Window -> Package Manager

  2. In the Package Manager press the + button to add a package and select Add package from git URL....

installation from git

  1. Paste the following line in the appeared text field: https://github.com/vagechirkov/SocialDecisionAgent.git

  2. Press the Add button.

Import package from disk

Agent models

Social drift–diffusion model

For more details see 1.

scene view

scene view

For more details about the task see 2 and 3.

Machine Learning Agent training

More information here.

Python environment installation

conda create -n mlagents python=3.6
conda activate mlagents   
python -m pip install mlagents==0.27.0 

Training Process

conda activate mlagents  
mlagents-learn Assets/SocialDecisionAgent/Samples/SocialDecisionExampleScenes/AgentBrains/training_params.yml --run-id=test 

Training parameters and an example config files.

View training inforation

tensorboard --logdir results --port 6006 

References

[1] Tump, A. N., Pleskac, T. J., & Kurvers, R. H. J. M. (2020). Wise or mad crowds? The cognitive mechanisms underlying information cascades. Science Advances, 6(29), eabb0266. https://doi.org/10.1126/sciadv.abb0266

[2] Shinn, M., Ehrlich, D. B., Lee, D., Murray, J. D., & Seo, H. (2020). Confluence of Timing and Reward Biases in Perceptual Decision-Making Dynamics. Journal of Neuroscience, 40(38), 7326–7342. https://doi.org/10.1523/JNEUROSCI.0544-20.2020

[3] Germar, M., Schlemmer, A., Krug, K., Voss, A., & Mojzisch, A. (2014). Social Influence and Perceptual Decision Making: A Diffusion Model Analysis. Personality and Social Psychology Bulletin, 15.

About

Playground for social decision models in Unity

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages