This is the implementation for the Linear Ordinary Differential Equations Gaussian Processes (LODE-GPs), published in [1].
First of all, install SageMath. Additional required libraries are GPyTorch and PyTorch.
Then simply installing it via pip install .
(or pip install -e .
if edits in the code should be automatically recognized) is enough to use it.
MWE.py
should run out of the box calling python MWE.py
, after switching to the sagemath conda environment using conda activate <sage-env-name>
.
By now the following features are implemented:
- Arbitrary homogenuous ODEs with constant coefficients through the
A
matrix - Trainable parameters through SageMath
FunctionField
s (compare for theHeating
system or theBipendulum Parameterized
inLODEGP.py
) - SE, Mat52 and Mat32 base kernels