{"id":15692686,"url":"https://github.com/mfreidank/arspy","last_synced_at":"2025-05-07T23:47:26.811Z","repository":{"id":57411614,"uuid":"103743379","full_name":"MFreidank/ARSpy","owner":"MFreidank","description":"Adaptive Rejection Sampling for Python","archived":false,"fork":false,"pushed_at":"2019-11-01T21:29:32.000Z","size":43627,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T10:50:00.093Z","etag":null,"topics":["adaptive","adaptive-rejection-sampling","ars","python","rejection-sampling","sampling","statistics"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MFreidank.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2017-09-16T10:14:23.000Z","updated_at":"2024-11-17T10:16:02.000Z","dependencies_parsed_at":"2022-08-27T19:12:01.004Z","dependency_job_id":null,"html_url":"https://github.com/MFreidank/ARSpy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFreidank%2FARSpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFreidank%2FARSpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFreidank%2FARSpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MFreidank%2FARSpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MFreidank","download_url":"https://codeload.github.com/MFreidank/ARSpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973622,"owners_count":21834105,"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":["adaptive","adaptive-rejection-sampling","ars","python","rejection-sampling","sampling","statistics"],"created_at":"2024-10-03T18:37:42.087Z","updated_at":"2025-05-07T23:47:26.790Z","avatar_url":"https://github.com/MFreidank.png","language":"Python","readme":"========\nARSPY\n========\n\n|Build Status|\n|Docs_|\n|Coverage_|\n|Pypi_|\n\nThis package provides a pure python/numpy \nimplementation of adaptive rejection sampling as \nproposed by P. Wild, W.R. Gilks in \n*Algorithm AS 287: Adaptive Rejection Sampling from Log Concave Density \nfunctions*.\n\nUnder the (frequently satisfied) assumption that the target distribution to \nsample from has a log-concave density function, this algorithm allows us \nto sample without calculating any integrals. \n\nThis sampling method is *exact* (all resulting samples are i.i.d) and \n*efficient* and our implementation can handle any univariate log-concave \ndistribution. \n\nOne prime use case is Gibbs sampling, where one frequently encounters many \n1D log-concave distributions.\n\nInstall\n=======\n\nSimply run::\n\n   pip3 install ARSpy\n\n.. |Build Status| image:: https://travis-ci.org/MFreidank/ARSpy.svg?branch=master\n    :target: https://travis-ci.org/MFreidank/ARSpy\n\n.. |Coverage_| image:: https://coveralls.io/repos/github/MFreidank/pyARS/badge.svg\n   :target: https://coveralls.io/github/MFreidank/pyARS\n   :alt: Coverage\n\n.. |Docs_| image:: https://readthedocs.org/projects/arspy/badge/?version=latest\n   :target: http://ARSpy.readthedocs.io/en/latest/\n   :alt: Docs\n\n.. |Pypi_| image:: https://badge.fury.io/py/ARSpy.svg\n    :target: https://badge.fury.io/py/ARSpy\n\nDocumentation\n=============\nOur documentation can be found at http://arspy.readthedocs.io/en/latest/.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfreidank%2Farspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfreidank%2Farspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfreidank%2Farspy/lists"}