{"id":13691171,"url":"https://github.com/tmbb/ulam_ex","last_synced_at":"2025-10-08T06:58:02.072Z","repository":{"id":211652935,"uuid":"729661771","full_name":"tmbb/ulam_ex","owner":"tmbb","description":"Elixir interface to Stan","archived":false,"fork":false,"pushed_at":"2024-10-04T19:30:00.000Z","size":6158,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:44:04.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/tmbb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-09T23:47:06.000Z","updated_at":"2024-10-15T12:43:31.000Z","dependencies_parsed_at":"2024-11-12T17:43:11.935Z","dependency_job_id":null,"html_url":"https://github.com/tmbb/ulam_ex","commit_stats":null,"previous_names":["tmbb/ulam_ex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmbb/ulam_ex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmbb%2Fulam_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmbb%2Fulam_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmbb%2Fulam_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmbb%2Fulam_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmbb","download_url":"https://codeload.github.com/tmbb/ulam_ex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmbb%2Fulam_ex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903039,"owners_count":26065786,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-02T17:00:41.375Z","updated_at":"2025-10-08T06:58:02.042Z","avatar_url":"https://github.com/tmbb.png","language":"HTML","funding_links":[],"categories":["Machine Learning"],"sub_categories":["Traditional Machine Learning"],"readme":"# Ulam\n\nElixir interface to [Stan](https://mc-stan.org/), inspired by\nthe Python project [CmdStanPy](https://mc-stan.org/cmdstanpy/).\nWhy should Python programmers have all the Bayesian fun?\n\n## Why?\n\nI'm interested in developping probabilistic programming languages\nthat compile to Stan. I have found that doing so in Python is pretty\ninconvenient. I have decided to give Elixir a try to see how far I can go.\n\n## Installation\n\nThe package must be installed from GitHub.\nIt's not currently stable enough to be uploaded to Hex.\n\n## Examples\n\nSe the example in the tests.\nRelevant code:\n\n```elixir\nalias Ulam.Stan.StanModel\n\n# Some simple data for the model\ndata = %{\n  N: 10,\n  y: [0, 1, 0, 0, 0, 0, 0, 0, 0, 1]\n}\n\n# Compile the model from the stan program file\nmodel = StanModel.compile_file(\"test/stan/models/bernoulli/bernoulli.stan\")\n\n# Sample from the model and save it in a dataframe\ndataframe =\n  StanModel.sample(model, data,\n    nr_of_samples: 1000,\n    nr_of_warmup_samples: 1000,\n    nr_of_chains: 8,\n    show_progress_bars: false\n  )\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmbb%2Fulam_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmbb%2Fulam_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmbb%2Fulam_ex/lists"}