pyglm | Interpretable neural spike train models | Machine Learning library
kandi X-RAY | pyglm Summary
kandi X-RAY | pyglm Summary
Neural circuits contain heterogeneous groups of neurons that differ in type, location, connectivity, and basic response properties. However, traditional methods for dimensionality reduction and clustering are ill-suited to recovering the structure underlying the organization of neural circuits. In particular, they do not take advantage of the rich temporal dependencies in multi-neuron recordings and fail to account for the noise in neural spike trains. This repository contains tools for inferring latent structure from simultaneously recorded spike train data using a hierarchical extension of a multi-neuron point process model commonly known as the generalized linear model (GLM). In the statistics and time series analysis communities, these correspond to nonlinear vector autoregressive processes with count observations. We combine the GLM with flexible graph-theoretic priors governing the relationship between latent features and neural connectivity patterns. Fully Bayesian inference via \polyagamma augmentation of the resulting model allows us to classify neurons and infer latent dimensions of circuit organization from correlated spike trains. We demonstrate the effectiveness of our method with applications to synthetic data and multi-neuron recordings in primate retina, revealing latent patterns of neural types and locations from spike trains alone.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Resample the covariance matrix
- Performs the collapsed resampling
- Compute the required statistics for the lkhd
- Calculates the marginal likelihood
- Plot a GMM model
- Plot the graph
- Plot a scatter plot
- Generate spike counts
- Add data to the model
- R Convolve an SFT with a basis set
- Compute the log likelihood distribution
- Compute the activation matrix
- Update the model
- Plot a GLM model
- Generate a cosine basis matrix
- Log likelihood of data
- R Derivative of the omega function
- Generate a random variates
- Log - likelihood
- Compute the log - likelihood of the model
pyglm Key Features
pyglm Examples and Code Snippets
Community Discussions
Trending Discussions on pyglm
QUESTION
I have written a code to render a triangle using a shader program. I want to rotate the triangle. I'm using PyGLM to set a transformation matrix. Here I'm presenting the whole code. If I run this code a triangle is appearing in the window as expected, but there is no rotation. I think I've failed to pass the transformation matrix to the buffer.
...ANSWER
Answered 2020-Aug-08 at 15:53Looks like you will want to create your own library from GLM. What you're doing in the code above no longer works. As another user stated, this is a good template to build functionality from. I'd suggest downloading GLM, taking it apart, and reverse engineering what you need into Python.
QUESTION
I have a boost python application that exports a class to Python, performs a calculation and returns the output back to C++:
...ANSWER
Answered 2020-Jul-01 at 07:56Ended up contacting the developer about this issue and this was there response:
This is what matrix objects look like in C++ code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyglm
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page