Skip to content

mossjacob/alfi

Repository files navigation

Alfi: Approximate Latent Force Inference

Don't miss out!

Latest PyPI Version PyPI Downloads Documentation Status

Implement Latent Force Models in under 10 lines of code!

This library implements several Latent Force Models. These are all implemented in building blocks simplifying the creation of novel models or combinations.

We support analytical (exact) inference in addition to inducing point approximations for non-linear LFMs written in PyTorch.

Installation

pip install alfi

Documentation

See Jupyter notebooks in the documentation here. Alternatively, directly browse the notebooks in the docs/notebooks/ directory. The docs contain linear, non-linear (both variational and MCMC methods), and partial Latent Force Models. The notebooks also contain complete examples from the literature such as a replication of the analytical linear Latent Force Model from Lawrence et al., 2006