{"id":20590432,"url":"https://github.com/probml/jsl","last_synced_at":"2025-05-09T23:32:16.915Z","repository":{"id":39850132,"uuid":"434127602","full_name":"probml/JSL","owner":"probml","description":"Jax SSM Library","archived":true,"fork":false,"pushed_at":"2022-11-24T14:50:45.000Z","size":6930,"stargazers_count":49,"open_issues_count":10,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-21T21:44:29.265Z","etag":null,"topics":[],"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/probml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null}},"created_at":"2021-12-02T07:45:15.000Z","updated_at":"2025-01-09T23:46:22.000Z","dependencies_parsed_at":"2023-01-22T10:00:49.869Z","dependency_job_id":null,"html_url":"https://github.com/probml/JSL","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/probml%2FJSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2FJSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2FJSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2FJSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probml","download_url":"https://codeload.github.com/probml/JSL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253341963,"owners_count":21893546,"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-11-16T07:36:36.306Z","updated_at":"2025-05-09T23:32:16.563Z","avatar_url":"https://github.com/probml.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSL: JAX State-Space models (SSM) Library\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" alt=\"image\" src=\"https://user-images.githubusercontent.com/4108759/146819263-7d476231-22c9-4e03-98c6-a6b300d99c5e.png\"\u003e\n\u003c/p\u003e\n\nJSL is a JAX library for Bayesian inference in state space models.\nAs of 2022-06-28, JSL is **deprecated**. You should use  [ssm-jax](https://github.com/probml/ssm-jax).\n\n\n# Installation\n\nWe assume you have already installed [JAX](https://github.com/google/jax#installation) and\n[Tensorflow](https://www.tensorflow.org/install),\nsince the details on how to do this depend on whether you have a CPU, GPU, etc.\n(This step is not necessary in Colab.)\n\nNow install these packages:\n\n```\n!pip install --upgrade git+https://github.com/google/flax.git\n!pip install --upgrade tensorflow-probability\n!pip install git+https://github.com/blackjax-devs/blackjax.git\n!pip install git+https://github.com/deepmind/distrax.git\n```\n\nThen install JSL:\n```\n!pip install git+https://github.com/probml/jsl\n```\nAlternatively, you can clone the repo locally, into say `~/github/JSL`, and then install it as a package, as follows:\n```\n!git clone https://github.com/probml/JSL.git\ncd JSL\n!pip install -e .\n```\n\n# Running the demos\n\nYou can see how to use the library by looking at some of the demos.\nYou can run the demos from inside a notebook like this\n```\n%run JSL/jsl/demos/kf_tracking.py\n%run JSL/jsl/demos/hmm_casino_em_train.py\n```\n\nOr from inside an ipython shell like this\n```\nfrom jsl.demos import kf_tracking\nfigdict = kf_tracking.main()\n```\n\nMost of the demos create figures. If you want to save them (in both png and pdf format),\nyou need to specify the FIGDIR environment variable, like this:\n```\nimport os\nos.environ[\"FIGDIR\"]='/Users/kpmurphy/figures'\n\nfrom jsl.demos.plot_utils import savefig\nsavefig(figdict)\n```\n\n# Authors\n  \nGerardo Durán-Martín ([@gerdm](https://github.com/gerdm)), Aleyna Kara([@karalleyna](https://github.com/karalleyna)), Kevin Murphy ([@murphyk](https://github.com/murphyk)), Giles Harper-Donnelly ([@gileshd](https://github.com/gileshd)), Peter Chang ([@petergchang](https://github.com/petergchang)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobml%2Fjsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobml%2Fjsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobml%2Fjsl/lists"}