lgpr2
usesCmdstanR
as backend, whereaslgpr
usesrstan
lgpr2
generates and compiles new Stan code each time a model is specified, whereaslgpr
uses precompiled Stan codelgpr2
uses approximate GPs (basis function implementation) whereaslgpr
uses exact ones (covariance matrix implementation)lgpr2
is not on CRANlgpr2
is a lot faster and scales to bigger datalgpr2
has less features (for example, currently only supports Gaussian observation model)- Stan code generated by
lgpr2
is more readable and can be easily customized lgpr2
contains the projection predictive method additional model reduction technique
devtools::install_github('jtimonen/lgpr2')
Juho Timonen & Harri Lähdesmäki, Scalable mixed-domain Gaussian process modeling and model reduction for longitudinal data, arXiv (2024)