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
-
📄 Publication April 2025: Time-series attribution maps with regularized contrastive learning. Steffen Schneider, Rodrigo González Laiz, Anastasiia Filipova, Markus Frey, Mackenzie Weygandt Mathis. AISTATS 2025.
-
📄 Publication May 2023: Learnable latent embeddings for joint behavioural and neural analysis. Steffen Schneider*, Jin Hwa Lee* and Mackenzie Weygandt Mathis. Nature 2023.
-
📄 Preprint April 2022: Learnable latent embeddings for joint behavioral and neural analysis. Steffen Schneider*, Jin Hwa Lee* and Mackenzie Weygandt Mathis
Patent Information
- Dimensionality reduction of time-series data, and systems and devices that use the resultant embeddings. Steffen Schneider* & Mackenzie Weygandt Mathis*. Awarded Dec 2025. Please contact the TTO office at EPFL for licensing.
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).
Metadata
Release files for cebra 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cebra-0.6.1.tar.gz | 240.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cebra-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 494.9 kB
Release files / cebra-0.6.1.tar.gz
| Download URL | cebra-0.6.1.tar.gz |
|---|---|
| Size | 240.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec7a6674f2e5520e1022d3af45925fa8a6326e23beb27d06a6fc92064bf876c7
|
|
BLAKE2b-256 checksum How to use checksums |
0fd0395f96d7ef0d554a321c8de13a51c63c22cbaa2f12a42b29d7e5aa77327f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / cebra-0.6.1-py3-none-any.whl
| Download URL | cebra-0.6.1-py3-none-any.whl |
|---|---|
| Size | 254.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6ef02cc9c62ccdb1e5cf75419539276de0ec0d60e3f7ac43a8a9894eadbf23a
|
|
BLAKE2b-256 checksum How to use checksums |
d03e08cfd4197bdedb1eb42a1f3349cc69c246ddf098d9bc434d57e0f83f80d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|