Git Product home page Git Product logo

meshgp's Introduction

Meshed GPs for spatial or spatiotemporal regression

The R package for MGPs is now meshed, also available on CRAN.

The meshgp development package

meshgp is the original code/package for the JASA article. Compared to meshed, it only works on Gaussian outcomes; in the multivariate case, it uses a covariance function defined on latent domain of variables defined in Apanasovich and Genton (2010, Biometrika). In the univariate case, updates for the spatial variance are conditionally conjugate. meshed is more flexible and much more efficient. The GriPS article details the improvements. This package will not be developed further but will remain available.

Install

Install with devtools::install_github("mkln/meshgp"). Refer to examples in the analysis folder for some simulations and comparisons.

Notes: Tested on Ubuntu 18.04 (R-4.0.2 w/ Intel MKL 2019.5 or 2020.1) and CentOS 8.2 (R-4.0.2 w/ OpenBLAS 0.3.10). Not tested on macOS or Windows yet. On CentOS, the default OpenBLAS 0.3.3 shipping with R causes segfaults due to possible conflicts with OpenMP. With OpenBLAS 0.3.10 compiled from source (using make NO_AFFINITY=1 USE_LOCKING=1 USE_OPENMP=1) there are no issues. YMMV.

What does meshgp do

List of models that can be implemented currently:

  • meshgp::meshgp(): spatially-varying coefficients regression (SVC) using the Z argument to store the dynamic inputs (not yet in meshed)
  • meshgp::mvmeshgp(): latent GP regression on multivariate outputs (better in meshed)
  • meshgp::meshgp_dev(): latent GP regression on univariate output with gridded reference set != observed locations (better in meshed; also works in the multivariate case)

Citation: M. Peruzzi, S. Banerjee & A. O. Finley (2020). Highly Scalable Bayesian Geostatistical Modeling via Meshed Gaussian Processes on Partitioned Domains. Journal of the American Statistical Association, in press. DOI: 10.1080/01621459.2020.1833889

Link to arXiv version with supplement

BibTeX:

@article{doi:10.1080/01621459.2020.1833889,
author = {Michele Peruzzi and Sudipto Banerjee and Andrew O. Finley},
title = {Highly Scalable Bayesian Geostatistical Modeling via Meshed Gaussian Processes on Partitioned Domains},
journal = {Journal of the American Statistical Association},
volume = {0},
number = {0},
pages = {1-31},
year  = {2020},
publisher = {Taylor & Francis},
doi = {10.1080/01621459.2020.1833889},
URL = {https://doi.org/10.1080/01621459.2020.1833889},
eprint = {https://doi.org/10.1080/01621459.2020.1833889}
}

meshgp's People

Contributors

mkln avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.