Here’s old code for hierarchical GPs I posted ages ago; but I don’t think anything is so out-of-date that it won’t work. Though maybe see here for a nicer GP parameterization you might merge with the hierarchical structure instead.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Auto-grouping of latent variable in Gaussian process | 4 | 800 | May 5, 2020 | |
| Fitting a GP model with subject-specific GP terms in brms | 4 | 1638 | May 21, 2021 | |
| Auto-grouping option in brms' gp() | 5 | 1198 | September 29, 2019 | |
| Modeling time dynamics with GP | 12 | 735 | April 29, 2020 | |
| Fitting a mixture of Gaussian processes | 3 | 1087 | November 27, 2017 |