Skip to main content

Module gpfa

Module gpfa 

Source

Structsยง

GpfaResult
GPFA result.

Functionsยง

gp_kernel ๐Ÿ”’
Squared-exponential GP kernel for n time points.
gpfa
Extract smooth latent trajectories from parallel spike trains via EM.
gpfa_e_step ๐Ÿ”’
E-step: compute posterior p(x|y).
gpfa_m_step ๐Ÿ”’
M-step: update C, d, R.
gpfa_transform
Project new spike trains using learned GPFA parameters.
mat_inv ๐Ÿ”’
Gauss-Jordan inverse for n x n matrix.
mat_solve ๐Ÿ”’
Solve A x = b via Gauss-Jordan (A is n x n, b is n x m, returns x as n x m).