Population and element-level analysis of neuronal computations
Project description
DRIADA
Dimensionality Reduction for Integrated Activity Data - A unified framework bridging single-neuron selectivity analysis with population-level dimensionality reduction for biological and artificial neural systems.
๐ฏ Vision
DRIADA creates a seamless bridge between understanding individual neurons and population-level neural dynamics. Our framework enables researchers to:
- Identify which neurons encode specific variables (using INTENSE)
- Extract collective latent variables from population activity
- Connect single-cell selectivity to population manifolds
- Interpret how neural populations represent information
The DRIADA Workflow
DRIADA uniquely combines single-neuron and population-level analyses in one framework. While traditional methods analyze neurons in isolation OR populations as a whole, DRIADA reveals how individual neural selectivity gives rise to collective representations.
Dimensionality reduction โ Population Activity โ Single Neurons โ INTENSE
โ โ
Latent Variables Individual Selectivity
โ โ
โ โ โ โ โ โ โ โ โ Integration Analysis โ โ โ โ โ โ โ โ โ โ โ โ โ
โ
Connect single-cell selectivity to population-level variables
Overview
DRIADA provides a comprehensive toolkit for analyzing both individual neural selectivity and collective population dynamics:
- ๐ Individual Analysis: Discover which neurons encode specific behavioral variables using information theory
- ๐ Population Analysis: Extract latent variables and manifolds from neural population activity
- ๐ Integrated Workflows: Connect single-cell properties to population-level representations
- ๐งช Validation Tools: Generate synthetic populations with known ground truth for algorithm testing
Key Capabilities
๐ง INTENSE Module - Single Neuron Analysis
- Detect both linear and nonlinear relationships using mutual information
- Rigorous two-stage statistical testing with multiple comparison correction
- Handle temporal delays between neural activity and behavior
- Disentangle mixed selectivity when neurons respond to multiple variables
๐ Population-Level Analysis - Collective Neural Dynamics
- Dimensionality Estimation: Measure intrinsic dimensionality of neural manifolds
- Linear methods: PCA-based dimension, effective rank
- Nonlinear methods: k-NN dimension, correlation dimension
- Dimensionality Reduction: Extract latent variables from population activity
- Classical: PCA, Factor Analysis
- Manifold learning: Isomap, UMAP, diffusion maps
- Specialized neural methods (coming soon)
- Latent Variable Extraction: Recover behavioral variables from neural populations
- Extract circular variables (e.g., head direction)
- Reconstruct spatial maps from place cell activity
- Identify task-relevant population subspaces
๐ Integrated Analysis - Bridging Scales
- Map single-cell selectivity to population manifolds
- Understand how individual neurons contribute to collective representations
- Visualize relationships between neural selectivity and population structure
๐งช Synthetic Data Generation - Algorithm Validation
- Generate populations with known ground truth:
- Head direction cells on circular manifolds
- Place cells on 2D/3D spatial manifolds
- Mixed populations with manifold + feature-selective neurons
- Test and validate analysis methods before applying to real data
- Benchmark different algorithms on controlled datasets
Perfect for:
- ๐ง Cognitive neuroscience: Identify task-relevant neural subspaces and their dynamics
- ๐ค AI interpretability: Understand representations in artificial neural networks
- ๐ฌ Systems neuroscience: Bridge cellular and population-level descriptions
Installation
# Basic installation
pip install driada
# With GPU support (recommended for large datasets)
pip install driada[gpu]
Quick Start
For complete code examples, tutorials, and API documentation, please visit the official documentation.
โ ๏ธ WARNING: Pre-Release Version
DRIADA is currently in pre-release stage (v0.x.x) and will be finalized to v1.0 soon.
Until the stable v1.0 release:
- ๐ Documentation takes precedence over example code
- ๐ง Examples and notebooks may be incomplete or broken
- ๐ง API may undergo changes
- ๐ Please refer to the official documentation for the most up-to-date information
Documentation
๐ Official Documentation - Complete API reference, tutorials, and guides
Additional Resources
- INTENSE Module Guide - Neural selectivity analysis documentation
- GitHub Issues - Report bugs or request features
Requirements
- Python 3.8+
- NumPy, SciPy, scikit-learn
- numba (for performance optimization)
- matplotlib, seaborn (for visualization)
- See pyproject.toml for complete list
Installation from Source
git clone https://github.com/iabs-neuro/driada.git
cd driada
pip install -e . # Editable installation
Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Development Setup
# Clone the repository
git clone https://github.com/iabs-neuro/driada.git
cd driada
# Create conda environment
conda create -n driada python=3.9
conda activate driada
# Install in development mode
pip install -e .[gpu]
# Run tests
pytest
Citation
If you use DRIADA in your research, please cite:
@software{driada2024,
title = {DRIADA: Dimensionality Reduction for Integrated Activity Data},
author = {Pospelov, Nikita and contributors},
year = {2025},
url = {https://github.com/iabs-neuro/driada}
}
Support
- ๐ง Email: pospelov.na14@physics.msu.ru
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
License
This project is licensed under the MIT License - see the LICENSE file for details.
Note: DRIADA is actively developed. We recommend using the latest stable release for production work.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file driada-0.5.1.tar.gz.
File metadata
- Download URL: driada-0.5.1.tar.gz
- Upload date:
- Size: 15.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6458c4c0bb9a1b81e388ff60ac614136eb9bbe6938026ed4b1e50060d33626b1
|
|
| MD5 |
75fb066786def675615714b447ca647c
|
|
| BLAKE2b-256 |
9fea629024811485f5246e8d24fb7ec505b3d27196a65ebacabd5fa9562d1f45
|
File details
Details for the file driada-0.5.1-py3-none-any.whl.
File metadata
- Download URL: driada-0.5.1-py3-none-any.whl
- Upload date:
- Size: 492.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e41913308503097fe76194ffc64a554b7a33fc2bd090f1eb24491f96aaf003
|
|
| MD5 |
492c2265d2725127fab2daa9de7a844f
|
|
| BLAKE2b-256 |
dcf2f99f40d77dcb27f77b42501f90086293d4a98f57b5c615074d312a8f38a6
|