lgpr2usesCmdstanRas backend, whereaslgprusesrstanlgpr2generates and compiles new Stan code each time a model is specified, whereaslgpruses precompiled Stan codelgpr2uses approximate GPs (basis function implementation) whereaslgpruses exact ones (covariance matrix implementation)lgpr2is not on CRANlgpr2is a lot faster and scales to bigger datalgpr2has less features (for example, currently only supports Gaussian observation model)- Stan code generated by
lgpr2is more readable and can be easily customized lgpr2contains 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)