NIEHS / PrestoGP

Penalized Regression on Spatiotemporal Outcomes using Gaussian Processes a.k.a. PrestoGP
https://niehs.github.io/PrestoGP/
0 stars 0 forks source link

Consolidate spatial/spatiotemporal functions #23

Closed ericbair-sciome closed 5 months ago

ericbair-sciome commented 7 months ago

Initially the package was written to allow only spatial and spatiotemporal models with separate functions for each. We decided to allow for more generalized locs/scale parameters and use only set of functions for the general case. This change has been made for the multivariate Vecchia model. However, all other models still have separate spatial and spatiotemporal versions. We need to combine the spatial and spatiotemporal functions into a single version that takes a "scaling" parameter.

ericbair-sciome commented 5 months ago

This is fixed in the latest release. Only one version of the univariate models (both Vecchia and full) now exists. And both types of models can handle any number of locs with any number of scaling parameters.