{"id":17686729,"url":"https://github.com/lacerbi/changeprob","last_synced_at":"2025-05-13T00:36:29.977Z","repository":{"id":84028829,"uuid":"68306222","full_name":"lacerbi/ChangeProb","owner":"lacerbi","description":"Human Online Adaptation to Changes in Prior Probability","archived":false,"fork":false,"pushed_at":"2019-11-11T20:57:33.000Z","size":64432,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-29T21:20:25.427Z","etag":null,"topics":["bayesian-inference","change-point-detection","data","modeling","psychophysics"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lacerbi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-09-15T15:26:35.000Z","updated_at":"2021-12-22T14:36:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e295bff9-743b-49e7-b233-2c58efb26836","html_url":"https://github.com/lacerbi/ChangeProb","commit_stats":{"total_commits":132,"total_committers":3,"mean_commits":44.0,"dds":0.5151515151515151,"last_synced_commit":"24a5e32aec20548ddd106134fe4ceb0564baeda8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacerbi%2FChangeProb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacerbi%2FChangeProb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacerbi%2FChangeProb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lacerbi%2FChangeProb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lacerbi","download_url":"https://codeload.github.com/lacerbi/ChangeProb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221306481,"owners_count":16795304,"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":["bayesian-inference","change-point-detection","data","modeling","psychophysics"],"created_at":"2024-10-24T10:45:48.073Z","updated_at":"2024-10-24T10:45:48.629Z","avatar_url":"https://github.com/lacerbi.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Human Online Adaptation to Changes in Prior Probability\n\nThis repository accompanies the article by Norton et al. (2019) [[1](https://github.com/lacerbi/ChangeProb/blob/master/README.md#reference)].\nIt includes human subjects' data and the code used for fitting and comparing the models reported in the paper.\n\n**Data:** The data are stored in the `./data` subfolder, in separate `.mat` files for each of the `N = 11` subjects used in the paper. Each file contains a `data` struct, whose fields contain information about the sessions. Each struct contains information for both the covert-criterion task and for the overt-criterion task (800 trials each).\n\n**Models:** All model files are stored in the `./matlab` subfolder. The main file to run a model fit is `changeprob_runfit.m`. See the [function description](https://github.com/lacerbi/ChangeProb/blob/master/matlab/changeprob_runfit.m) for more information about the inputs and outputs. An example run on one dataset and model (identified by model and data id `1`) can be obtained with:\n```\n\u003e changepoint_runfit(1,'marglike');\n```\nExample scripts to run the model fits on a computer cluster (using the [Slurm](https://slurm.schedmd.com/) workload manager) are in the `./scripts` subfolder.\n\n\n## Reference\n\n1. Norton EH, Acerbi L, Ma WJ, Landy MS (2019) Human online adaptation to changes in prior probability. *PLoS Comput Biol* 15(7): e1006681. https://doi.org/10.1371/journal.pcbi.1006681 ([link](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006681))\n\n### License\n\nThis code is released under the terms of the [MIT License](https://github.com/lacerbi/ChangeProb/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacerbi%2Fchangeprob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flacerbi%2Fchangeprob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacerbi%2Fchangeprob/lists"}