Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.54 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.54 KB

StructureGPs-paper

This repository contains the code for the paper Learning ODE Models with Qualitative Structure Using Gaussian Processes, CDC 2021 paper WeA01.3, presented on Wednesday 15.12.21 at 13:30 UTC.

The packages in this repository will very soon be superseded by GPDiffEq.jl.

Setup

This code is compatible with Julia 1.5 To recreate the environment open a terminal in the repository and run

    julia --project

or within julia

    ] activate .

Then run

    ] instantiate

to install and build all packages in the environment.

Examples

The paper covers two examples, a simple spiral ODE and the Kepler problem.

Spiral ODE

The plots below are produced by the plots_spiral.jl script, and written out into the plots directory. The plots are generated via precomputed data from the data directory.

The data can be regenerated by running the setup_spiral.jl script. Note that the computations are set up to be multi-threaded, and took about 30min on 12 threads. In addition, they require substantial RAM, at about 18Gb when using 12 threads.

Plot1

Plot2

Kepler Problem

The plot below is produced by the plots_kepler.jl script, and written out into the plots directory. The plot is generated via precomputed data from the data directory.

The data can be regenerated by running the setup_kepler.jl script.

Kepler