Felixity's repositories
felixity-the-cat.github.io
website for instagram purrsonality felixity_the_cat
burkh4rt.github.io
my website
Discriminative-Kalman-Filter
companion code for "The Discriminative Kalman Filter for Bayesian Filtering with Nonlinear and Nongaussian Observation Models"
Discriminative-Kalman-Filter-4.5-Python
Python Implementation of Experiment 4.5 of the Discriminative Kalman Filter paper from 2020.
DKF-dissertation
Given a stationary state-space model that relates a sequence of hidden states and corresponding measurements or observations, Bayesian filtering provides a principled statistical framework for inferring the posterior distribution of the current state given all measurements up to the present time. For example, the Apollo lunar module implemented a Kalman filter to infer its location from a sequence of earth-based radar measurements and land safely on the moon. To perform Bayesian filtering, we require a measurement model that describes the conditional distribution of each observation given state. The Kalman filter takes this measurement model to be linear, Gaussian. Here we show how a nonlinear, Gaussian approximation to the distribution of state given observation can be used in conjunction with Bayes’ rule to build a nonlinear, non-Gaussian measurement model. The resulting approach, called the Discriminative Kalman Filter (DKF), retains fast closed-form updates for the posterior. We argue there are many cases where the distribution of state given measurement is better-approximated as Gaussian, especially when the dimensionality of measurements far exceeds that of states and the Bernstein—von Mises theorem applies. Online neural decoding for brain-computer interfaces provides a motivating example, where filtering incorporates increasingly detailed measurements of neural activity to provide users control over external devices. Within the BrainGate2 clinical trial, the DKF successfully enabled three volunteers with quadriplegia to control an on-screen cursor in real-time using mental imagery alone. Participant “T9” used the DKF to type out messages on a tablet PC. Nonstationarities, or changes to the statistical relationship between states and measurements that occur after model training, pose a significant challenge to effective filtering. In brain-computer interfaces, one common type of nonstationarity results from wonkiness or dropout of a single neuron. We show how a robust measurement model can be used within the DKF framework to effectively ignore large changes in the behavior of a single neuron. At BrainGate2, a successful online human neural decoding experiment validated this approach against the commonly-used Kalman filter.
DKF-implementations
This repository contains code implementations for the Discriminative Kalman Filter.
et-book
A webfont of the typeface used in Edward Tufte’s books.
explainshell
match command-line arguments to their help text
felixity-the-cat
I'm a cat but also so much more than that
filtered-stochastic-newton
We apply sequential Bayesian inference with a discriminatively specified observation model to the subsampled gradients and Hessians used by the stochastic Newton method for online optimization.
mennthor-awkde
Adaptive Width KDE with Gaussian Kernels
Learning-Representations-Causal-Inference
Within the field of causal inference, we consider the problem of estimating heterogeneous treatment effects from data. We propose and validate a novel approach for learning feature representations to aid the estimation of the conditional average treatment effect or CATE.
Mercurial-Signatures
We implement Delegatable Anonymous Credentials using Mercurial Signatures
miracl-core
MIRACL Core
Multimodal-Trajectory-Modeling
Code supplement for "Unsupervised multimodal modeling of cognitive and brain health trajectories for early dementia prediction"
numpy
The fundamental package for scientific computing with Python.
pySuStaIn
Subtype and Stage Inference (SuStaIn) algorithm with an example using simulated data.
scipy
SciPy library main repository
turing-learning-machines-drift
A Python package for monitoring dataset drift in secure environments
ucl-pond-kde_ebm
Newer version of the KDEEBM code
UKB
repository for scripts used in UK BioBank analyses