https://github.com/aaltoml/spatio-temporal-gps

Code for NeurIPS 2021 paper 'Spatio-Temporal Variational Gaussian Processes'

https://github.com/aaltoml/spatio-temporal-gps

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary

Keywords

gaussian-processes spatio-temporal variational-inference
Last synced: 9 months ago · JSON representation

Repository

Code for NeurIPS 2021 paper 'Spatio-Temporal Variational Gaussian Processes'

Basic Info
  • Host: GitHub
  • Owner: AaltoML
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 38.1 KB
Statistics
  • Stars: 27
  • Watchers: 2
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Topics
gaussian-processes spatio-temporal variational-inference
Created over 4 years ago · Last pushed over 4 years ago

https://github.com/AaltoML/spatio-temporal-GPs/blob/main/

# Spatio-Temporal Variational GPs

This repository is the official implementation of the methods in the publication:

* O. Hamelijnck, W.J. Wilkinson, N.A. Loppi, A. Solin, and T. Damoulas (2021). **Spatio-temporal variational Gaussian processes**. In *Neural Information Processing Systems (NeurIPS)*. [[arXiv]](https://arxiv.org/abs/2111.01732)

## Citing this work:
```bibtex
@inproceedings{hamelijnck2021spatio,
	title={Spatio-Temporal Variational {G}aussian Processes},
	author={Hamelijnck, Oliver and Wilkinson, William and Loppi, Niki and Solin, Arno and Damoulas, Theodoros},
	booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
	year={2021},
}
```

## Experiment Setup

This has been tested on a Macbook Pro. All spatio-temporal VGP models have been implemented within the [Bayes-Newton package](https://github.com/AaltoML/BayesNewton). 

### Environment Setup

We recommend using conda:

```bash
conda create -n spatio_gp python=3.7
conda activate spatio_gp
```

Then install the required python packages:

```bash
pip install -r requirements.txt
```

### Data Download

#### Pre-processed Data

All data, preprocessed and split into train-test splits used in the paper is provided at https://doi.org/10.5281/zenodo.4531304. Download the folder and place the corresponding datasets into `experiments/*/data` folders.

#### Manual Data Setup

We also provide scripts to generate the data manually:

```bash
make data
```

which will download the relevant London air quality and NYC data, clean them, and split into train-test splits.

### Running Experiments

To run all experiments across all training folds run:

```bash
make experiments
```

To run an individual experiment refer to the `Makefile`.

#### Baselines used

- `GPFlow2` : https://github.com/GPflow/GPflow
- `GPYTorch`: https://github.com/cornellius-gp/gpytorch

## License

This software is provided under the [MIT license](LICENSE).

Owner

  • Name: AaltoML
  • Login: AaltoML
  • Kind: organization
  • Location: Finland

Machine learning group at Aalto University lead by Prof. Solin

GitHub Events

Total
  • Watch event: 2
  • Fork event: 1
Last Year
  • Watch event: 2
  • Fork event: 1

Dependencies

requirements.txt pypi
  • bayesnewton ==1.1
  • geopandas ==0.10.2
  • gpflow ==2.3.0
  • gpytorch ==1.5.1
  • jax ==0.2.9
  • jaxlib ==0.1.60
  • loguru ==0.5.3
  • matplotlib ==3.4.3
  • numba ==0.54.1
  • numpy ==1.21.3
  • objax ==1.3.1
  • pandas ==1.3.4
  • rtree ==0.9.7
  • scipy ==1.7.1
  • sklearn *
  • tqdm ==4.62.3