Sovereign 8s.is mirror of standardgalactic/CEBRA
  • Python 98.9%
  • Shell 0.5%
  • Makefile 0.3%
  • Dockerfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Steffen Schneider 662892a088
Some checks failed
Python package / build (latest, ubuntu-latest, 3.10, latest, 2.12.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.10, latest, 2.9.1) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.10, legacy, 2.4.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.12, latest, 2.12.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.12, latest, 2.9.1) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.12, legacy, 2.6.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.13, latest, 2.12.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.13, latest, 2.9.1) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.14, latest, 2.12.0) (push) Has been cancelled
Python package / build (latest, ubuntu-latest, 3.14, latest, 2.9.1) (push) Has been cancelled
Python package / build (latest, windows-latest, 3.12, latest, 2.6.0) (push) Has been cancelled
Python package / build (legacy, ubuntu-latest, 3.12, latest, 2.6.0) (push) Has been cancelled
Build docs / build (push) Has been cancelled
Python package (latest) / build (push) Has been cancelled
Release 0.6.1 (#294)
* Update download urls from figshare to s3 bucket

* minimize the diff

* unify the dataset download funcs

* fix accedentally skipped save/load test

* include a numpy legacy test

* fix windows compatibility for tempfile

* fix added test

* Fix legacy loading logic

* minimize diff in tests

* Fix _assert_equal check

* Bump version to 0.6.1

* fix loading logic for legacy torch

* allowlist float32d

* bump python and torch in workflows

* add torch 2.6.0 as legacy only

* fix codespell typo
2026-05-30 17:37:11 +02:00
.github Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
cebra Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
conda Fix scikit-learn reference in conda environment files (#195) 2024-11-08 08:33:23 +01:00
docs Change patent pending to patented and add link in docs (#277) 2026-01-17 13:16:50 -07:00
tests Update download urls from figshare to s3 bucket (#291) 2026-02-02 16:31:44 +00:00
third_party Update imports in pivae from keras to tensorflow.keras (#164) 2024-07-26 13:18:33 +02:00
tools Upgrade docs build (#241) 2025-04-18 13:32:46 +02:00
.clabot Initial commit: Add core functionality 2023-05-01 03:27:05 +02:00
.dockerignore Upgrade docs build (#241) 2025-04-18 13:32:46 +02:00
.gitignore Add xCEBRA implementation (AISTATS 2025) (#225) 2025-04-23 09:54:54 +02:00
.pre-commit-config.yaml Add ruff for linting the codebase (#167) 2024-10-20 09:53:29 -07:00
.yapfignore Add pre-commit config to standardize files (#42) 2023-07-12 20:42:41 +02:00
AUTHORS.md v0.5.0 (#238) 2025-04-17 10:51:45 +02:00
CHANGELOG.md Add pre-commit config to standardize files (#42) 2023-07-12 20:42:41 +02:00
CITATION.cff Add pre-commit config to standardize files (#42) 2023-07-12 20:42:41 +02:00
CLA.md Add pre-commit config to standardize files (#42) 2023-07-12 20:42:41 +02:00
CODE_OF_CONDUCT.md Implementation for discrete multisession (#135) 2024-05-30 14:36:59 +02:00
conftest.py Add pre-commit config to standardize files (#42) 2023-07-12 20:42:41 +02:00
Dockerfile Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
LICENSE.md Change license to Apache 2.0 (#117) 2024-01-01 22:25:39 +01:00
Makefile Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
MANIFEST.in Release 0.2.0rc2 2023-05-01 19:59:28 +02:00
NOTICE.yml Add xCEBRA implementation (AISTATS 2025) (#225) 2025-04-23 09:54:54 +02:00
PKGBUILD Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
pyproject.toml Add compatibility fixes for pandas 3 and torch 2.10 (#289) 2026-02-01 10:49:01 +01:00
README.md Update README with patent details and method description (#274) 2026-01-15 16:05:28 -07:00
reinstall.sh Release 0.6.1 (#294) 2026-05-30 17:37:11 +02:00
setup.cfg Upgrade to latest pytest-sphinx on pypi (#286) 2026-01-31 21:52:13 +00:00

Welcome! 👋

CEBRA is a library for estimating Consistent EmBeddings of high-dimensional Recordings using Auxiliary variables. It contains self-supervised learning algorithms implemented in PyTorch, and has support for a variety of different datasets common in biology and neuroscience.

To receive updates on code releases, please 👀 watch or ⭐️ star this repository!

cebra is a patented self-supervised method for non-linear clustering that allows for label-informed time series analysis. It can jointly use behavioral and neural data in a hypothesis- or discovery-driven manner to produce consistent, high-performance latent spaces. While it is not specific to neural and behavioral data, this is the first domain we used the tool in. This application case is to obtain a consistent representation of latent variables driving activity and behavior, improving decoding accuracy of behavioral variables over standard supervised learning, and obtaining embeddings which are robust to domain shifts.

References

Patent Information

License

  • Since version 0.4.0, CEBRA is open source software under an Apache 2.0 license.
  • Prior versions 0.1.0 to 0.3.1 were released for academic use only (please read the license file).