{"id":23735382,"url":"https://github.com/murraylab/instrumentallatentstatelearning","last_synced_at":"2026-02-25T20:30:18.001Z","repository":{"id":50148393,"uuid":"515311669","full_name":"murraylab/instrumentalLatentStateLearning","owner":"murraylab","description":"Code associated with the publication on latent state learning","archived":false,"fork":false,"pushed_at":"2023-03-09T13:39:46.000Z","size":28366,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T06:14:57.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murraylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-18T19:15:19.000Z","updated_at":"2023-08-26T07:20:16.000Z","dependencies_parsed_at":"2022-09-05T23:40:32.964Z","dependency_job_id":null,"html_url":"https://github.com/murraylab/instrumentalLatentStateLearning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FinstrumentalLatentStateLearning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FinstrumentalLatentStateLearning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FinstrumentalLatentStateLearning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FinstrumentalLatentStateLearning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murraylab","download_url":"https://codeload.github.com/murraylab/instrumentalLatentStateLearning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239866477,"owners_count":19710193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-31T06:15:01.136Z","updated_at":"2026-02-25T20:30:17.944Z","avatar_url":"https://github.com/murraylab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiLatentStateInstrumentalLearning\nCopyright 2021, Warren Woodrich Pettine\n\nThis code contains simulations and data analysis used in \"Pettine, W. W., Raman, D. V., Redish, A. D., Murray, J. D.\n“Human generalization of internal representations through prototype learning with goal-directed attention,” March 2023, Nature Human Behavior.\n\nhttps://www.nature.com/articles/s41562-023-01543-7\n\nFor examples of running the code base, see the examples.py file in the main directory.\n# Installation\n\nAll code was written using python version 3.7. Please see the requirements file for required packages. To install the\nrequirements, just run. \n\n```bash\npip install -r requirements.txt\n```\n\n# Organization\nThe code is organized in the following packages.\n\n- simulations\n- subjects\n- utils\n- analysis\n- plots\n\nSee package modules for details on each function. \n\nIn addition, the main directory contains the module 'examples.py' that runs the algorithmic model on relevant experiments.  \n\n## simulations\nThe simulations package contains all code necessary to simulate the various models. It is organized in the following\nmodules:\n\n- algorithmicmodels\n- neuralnetwork\n- parameters\n- experiments\n\n### algorithmicmodels.py\nThis module contains the main code for the prototype and exemplar algorithmic models. \n\n### neuralnetwork.py\nThis module contains the code to run the neural network simulations. This module is unfinished. \n\n### parameters.py\nModule for creating parameters dictionaries to create agents, networks and the worlds with with they interact. \n\n### experiments.py\nModule that creates specific experiments used in the paper. \n\n## utils\nThis package contains the module utils.py, which organizes Various useful functions, such as those for unit testing. \n\n## analysis\nThis package contains Code for higher-level analyses of behavior and model fun\n\n- general\n- plotfunctions\n\n### general.py\nFunctions used for general analysis\n\n### plotfunctions.py\nFunctions used to plot the data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurraylab%2Finstrumentallatentstatelearning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurraylab%2Finstrumentallatentstatelearning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurraylab%2Finstrumentallatentstatelearning/lists"}