Package: deepspat 0.3.5

Quan Vu

deepspat: Deep Compositional Spatial Models

Deep compositional spatial models are standard spatial covariance models coupled with an injective warping function of the spatial domain. The warping function is constructed through a composition of multiple elemental injective functions in a deep-learning framework. The package implements two cases for the univariate setting; first, when these warping functions are known up to some weights that need to be estimated, and, second, when the weights in each layer are random. In the multivariate setting only the former case is available. Estimation and inference is done using `tensorflow`, which makes use of graphics processing units. For more details see Zammit-Mangion et al. (2022) <doi:10.1080/01621459.2021.1887741>, Vu et al. (2022) <doi:10.5705/ss.202020.0156>, Vu et al. (2023) <doi:10.1016/j.spasta.2023.100742>, and Shao et al. (2025) <doi:10.48550/arXiv.2505.12548>.

Authors:Andrew Zammit-Mangion [aut], Quan Vu [aut, cre], Xuanjie Shao [aut]

deepspat_0.3.5.tar.gz
deepspat_0.3.5.zip(r-4.7-any)deepspat_0.3.5.zip(r-4.6-any)deepspat_0.3.5.zip(r-4.5-any)
deepspat_0.3.5.tgz(r-4.6-any)deepspat_0.3.5.tgz(r-4.5-any)
deepspat_0.3.5.tar.gz(r-4.7-any)deepspat_0.3.5.tar.gz(r-4.6-any)
deepspat_0.3.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
deepspat/json (API)

# Install 'deepspat' in R:
install.packages('deepspat', repos = c('https://andrewzm.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/andrewzm/deepspat/issues

On CRAN:

Conda:

5.11 score 10 stars 1 scripts 549 downloads 19 exports 47 dependencies

Last updated from:3487821e20. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK138
source / vignettesOK180
linux-releaseOK161
macos-releaseOK104
macos-oldrelOK129
windows-develOK109
windows-releaseOK79
windows-oldrelOK126
wasm-releaseOK91

Exports:AFF_1DAFF_2DAWUbisquares1Dbisquares2Ddeepspatdeepspat_bivar_GPdeepspat_GPdeepspat_MSPdeepspat_nn_GPdeepspat_nn_ST_GPdeepspat_rPPdeepspat_trivar_GPinit_learn_ratesinitvarsLFTRBF_blockset_deepspat_seedsim_data

Dependencies:backportsbase64enccliconfigdata.tabledotCall64dplyrevdfieldsgenericsglueherejsonlitekeraslatticelifecyclemagrittrmapsMatrixpillarpkgconfigpngprocessxpsR6rappdirsRColorBrewerRcppRcppTOMLreticulaterlangrprojrootrstudioapispamtensorflowtfautographtfprobabilitytfrunstibbletidyselectutf8vctrsviridisLitewhiskerwithryamlzeallot

Readme and manuals

Help Manual

Help pageTopics
Affine transformation on a 1D domainAFF_1D
Affine transformation on a 2D domainAFF_2D
Axial Warping UnitAWU
Bisquare functions on a 1D domainbisquares1D
Bisquare functions on a 2D domainbisquares2D
Deep compositional spatial modelsdeepspat-package deepspat
Fit a bivariate Gaussian process deepspat modeldeepspat_bivar_GP
Fit a univariate Gaussian process deepspat modeldeepspat_GP
Fit a max-stable Brown-Resnick deepspat modeldeepspat_MSP
Fit a nearest-neighbor Gaussian process deepspat modeldeepspat_nn_GP
Fit a nearest-neighbor spatio-temporal Gaussian process deepspat modeldeepspat_nn_ST_GP
Fit an r-Pareto process deepspat modeldeepspat_rPP
Fit a trivariate Gaussian process deepspat modeldeepspat_trivar_GP
Initialise learning ratesinit_learn_rates
Initialise weights and parametersinitvars
LFT (Möbius transformation)LFT
Plot fitted deepspat modelsplot.deepspat plot.deepspat_bivar_GP plot.deepspat_GP plot.deepspat_MSP plot.deepspat_nn_GP plot.deepspat_nn_ST_GP plot.deepspat_rPP plot.deepspat_trivar_GP
Predict from a fitted deepspat modelpredict.deepspat
Predict from a fitted bivariate Gaussian process modelpredict.deepspat_bivar_GP
Predict from a fitted univariate Gaussian process modelpredict.deepspat_GP
Predict fitted dependence from a max-stable process modelpredict.deepspat_MSP
Predict from a fitted nearest-neighbor Gaussian process modelpredict.deepspat_nn_GP
Predict from a fitted nearest-neighbor spatio-temporal Gaussian process modelpredict.deepspat_nn_ST_GP
Predict fitted dependence from an r-Pareto process modelpredict.deepspat_rPP
Predict from a fitted trivariate Gaussian process modelpredict.deepspat_trivar_GP
Print fitted deepspat modelsprint.deepspat print.deepspat_bivar_GP print.deepspat_GP print.deepspat_MSP print.deepspat_nn_GP print.deepspat_nn_ST_GP print.deepspat_rPP print.deepspat_trivar_GP print.summary.deepspat
Radial Basis Function WarpingsRBF_block
Set TensorFlow seedset_deepspat_seed
Generate simulation data for testingsim_data
Summarize fitted deepspat modelssummary.deepspat summary.deepspat_bivar_GP summary.deepspat_GP summary.deepspat_MSP summary.deepspat_nn_GP summary.deepspat_nn_ST_GP summary.deepspat_rPP summary.deepspat_trivar_GP