{
  "_id": "6a1ec058b25058d4daae1dd3",
  "Package": "deepspat",
  "Type": "Package",
  "Title": "Deep Compositional Spatial Models",
  "Date": "2025-11-20",
  "Version": "0.3.1",
  "Authors@R": "c(person(given = \"Andrew\", family = \"Zammit-Mangion\", role = \"aut\"), \nperson(given = \"Quan\", family = \"Vu\", role = c(\"aut\", \"cre\"),\nemail = \"quanvustats@gmail.com\"),\nperson(given = \"Xuanjie\", family = \"Shao\", role = \"aut\")\n)",
  "Maintainer": "Quan Vu <quanvustats@gmail.com>",
  "Description": "Deep compositional spatial models are standard spatial\ncovariance models coupled with an injective warping function of\nthe spatial domain. The warping function is constructed through\na composition of multiple elemental injective functions in a\ndeep-learning framework. The package implements two cases for\nthe univariate setting; first, when these warping functions are\nknown up to some weights that need to be estimated, and,\nsecond, when the weights in each layer are random. In the\nmultivariate setting only the former case is available.\nEstimation and inference is done using `tensorflow`, which\nmakes use of graphics processing units. For more details see\nZammit-Mangion et al. (2022)\n<doi:10.1080/01621459.2021.1887741>, Vu et al. (2022)\n<doi:10.5705/ss.202020.0156>, Vu et al. (2023)\n<doi:10.1016/j.spasta.2023.100742>, and Shao et al. (2025)\n<doi:10.48550/arXiv.2505.12548>.",
  "License": "Apache License 2.0",
  "SystemRequirements": "TensorFlow (https://www.tensorflow.org/),",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "URL": "https://cran.r-project.org/package=deepspat",
  "BugReports": "https://github.com/andrewzm/deepspat/issues",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://andrewzm.r-universe.dev",
  "Date/Publication": "2026-06-02 09:38:39 UTC",
  "RemoteUrl": "https://github.com/andrewzm/deepspat",
  "RemoteRef": "HEAD",
  "RemoteSha": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
  "Packaged": {
    "Date": "2026-06-02 11:33:03 UTC",
    "User": "root"
  },
  "Author": "Andrew Zammit-Mangion [aut],\nQuan Vu [aut, cre],\nXuanjie Shao [aut]",
  "MD5sum": "3171ccd687853648fdf9c024c8c18425",
  "_user": "andrewzm",
  "_type": "src",
  "_file": "deepspat_0.3.1.tar.gz",
  "_fileid": "6d68719c88da57ea64aba529d83cde8ca776976cc54cea3fc4ccfc7d03007521",
  "_filesize": 244079,
  "_sha256": "6d68719c88da57ea64aba529d83cde8ca776976cc54cea3fc4ccfc7d03007521",
  "_created": "2026-06-02T11:33:03.000Z",
  "_published": "2026-06-02T11:36:56.757Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79061193821,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7356563781"
    },
    {
      "job": 79061193888,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7356560971"
    },
    {
      "job": 79061193871,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7356540455"
    },
    {
      "job": 79061193824,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7356539302"
    },
    {
      "job": 79060645009,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7356499335"
    },
    {
      "job": 79061193874,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7356536336"
    },
    {
      "job": 79061193765,
      "time": 164,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7356556084"
    },
    {
      "job": 79061193947,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7356540064"
    },
    {
      "job": 79061193750,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7356537822"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/andrewzm/deepspat",
  "_commit": {
    "id": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
    "author": "Quan Vu <quan.vu@anu.edu.au>",
    "committer": "Quan Vu <quan.vu@anu.edu.au>",
    "message": "update README\n",
    "time": 1780393119
  },
  "_maintainer": {
    "name": "Quan Vu",
    "email": "quanvustats@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "keras",
      "role": "Imports"
    },
    {
      "package": "tensorflow",
      "role": "Imports"
    },
    {
      "package": "tfprobability",
      "role": "Imports"
    },
    {
      "package": "evd",
      "role": "Imports"
    },
    {
      "package": "SpatialExtremes",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    }
  ],
  "_owner": "andrewzm",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 8
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "quanvu17",
      "count": 50,
      "uuid": 61038683
    },
    {
      "user": "andrewzm",
      "count": 30,
      "uuid": 150125
    },
    {
      "user": "shaox0a",
      "count": 29,
      "uuid": 72076612
    }
  ],
  "_userbio": {
    "uuid": 150125,
    "type": "user",
    "name": "Andrew Zammit Mangion"
  },
  "_downloads": {
    "count": 128,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/deepspat"
  },
  "_devurl": "https://github.com/andrewzm/deepspat",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/deepspat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/andrewzm/deepspat",
  "_realowner": "andrewzm",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2025-11-12"
    },
    {
      "version": "0.3.1",
      "date": "2025-11-25"
    }
  ],
  "_exports": [
    "AFF_1D",
    "AFF_2D",
    "AWU",
    "bisquares1D",
    "bisquares2D",
    "deepspat",
    "deepspat_bivar_GP",
    "deepspat_GP",
    "deepspat_MSP",
    "deepspat_nn_GP",
    "deepspat_nn_ST_GP",
    "deepspat_rPP",
    "deepspat_trivar_GP",
    "init_learn_rates",
    "initvars",
    "LFT",
    "RBF_block",
    "set_deepspat_seed",
    "sim_data"
  ],
  "_help": [
    {
      "page": "AFF_1D",
      "title": "Affine transformation on a 1D domain",
      "topics": [
        "AFF_1D"
      ]
    },
    {
      "page": "AFF_2D",
      "title": "Affine transformation on a 2D domain",
      "topics": [
        "AFF_2D"
      ]
    },
    {
      "page": "AWU",
      "title": "Axial Warping Unit",
      "topics": [
        "AWU"
      ]
    },
    {
      "page": "bisquares1D",
      "title": "Bisquare functions on a 1D domain",
      "topics": [
        "bisquares1D"
      ]
    },
    {
      "page": "bisquares2D",
      "title": "Bisquare functions on a 2D domain",
      "topics": [
        "bisquares2D"
      ]
    },
    {
      "page": "deepspat",
      "title": "Deep compositional spatial models",
      "topics": [
        "deepspat-package",
        "deepspat"
      ]
    },
    {
      "page": "deepspat_bivar_GP",
      "title": "Deep bivariate compositional spatial model for Gaussian processes",
      "topics": [
        "deepspat_bivar_GP"
      ]
    },
    {
      "page": "deepspat_GP",
      "title": "Deep compositional spatial model for Gaussian processes",
      "topics": [
        "deepspat_GP"
      ]
    },
    {
      "page": "deepspat_MSP",
      "title": "Deep compositional spatial model for max-stable processes",
      "topics": [
        "deepspat_MSP"
      ]
    },
    {
      "page": "deepspat_nn_GP",
      "title": "Deep compositional spatial model (with nearest neighbors) for Gaussian processes",
      "topics": [
        "deepspat_nn_GP"
      ]
    },
    {
      "page": "deepspat_nn_ST_GP",
      "title": "Deep compositional spatio-temporal model (with nearest neighbors) for Gaussian processes",
      "topics": [
        "deepspat_nn_ST_GP"
      ]
    },
    {
      "page": "deepspat_rPP",
      "title": "Deep compositional spatial model for r-Pareto processes",
      "topics": [
        "deepspat_rPP"
      ]
    },
    {
      "page": "deepspat_trivar_GP",
      "title": "Deep trivariate compositional spatial model for Gaussian processes",
      "topics": [
        "deepspat_trivar_GP"
      ]
    },
    {
      "page": "init_learn_rates",
      "title": "Initialise learning rates",
      "topics": [
        "init_learn_rates"
      ]
    },
    {
      "page": "initvars",
      "title": "Initialise weights and parameters",
      "topics": [
        "initvars"
      ]
    },
    {
      "page": "LFT",
      "title": "LFT (Möbius transformation)",
      "topics": [
        "LFT"
      ]
    },
    {
      "page": "predict.deepspat",
      "title": "Deep compositional spatial model",
      "topics": [
        "predict.deepspat"
      ]
    },
    {
      "page": "predict.deepspat_bivar_GP",
      "title": "Deep bivariate compositional spatial model",
      "topics": [
        "predict.deepspat_bivar_GP"
      ]
    },
    {
      "page": "predict.deepspat_GP",
      "title": "Deep compositional spatial model",
      "topics": [
        "predict.deepspat_GP"
      ]
    },
    {
      "page": "predict.deepspat_nn_GP",
      "title": "Deep compositional spatial model (with nearest neighbors)",
      "topics": [
        "predict.deepspat_nn_GP"
      ]
    },
    {
      "page": "predict.deepspat_nn_ST_GP",
      "title": "Deep compositional spatio-temporal model (with nearest neighbors)",
      "topics": [
        "predict.deepspat_nn_ST_GP"
      ]
    },
    {
      "page": "predict.deepspat_trivar_GP",
      "title": "Deep trivariate compositional spatial model",
      "topics": [
        "predict.deepspat_trivar_GP"
      ]
    },
    {
      "page": "RBF_block",
      "title": "Radial Basis Function Warpings",
      "topics": [
        "RBF_block"
      ]
    },
    {
      "page": "set_deepspat_seed",
      "title": "Set TensorFlow seed",
      "topics": [
        "set_deepspat_seed"
      ]
    },
    {
      "page": "sim_data",
      "title": "Generate simulation data for testing",
      "topics": [
        "sim_data"
      ]
    },
    {
      "page": "summary.deepspat_MSP",
      "title": "Deep compositional spatial model for max-stable processes",
      "topics": [
        "summary.deepspat_MSP"
      ]
    },
    {
      "page": "summary.deepspat_rPP",
      "title": "Deep compositional spatial model for r-Pareto processes",
      "topics": [
        "summary.deepspat_rPP"
      ]
    }
  ],
  "_readme": "https://github.com/andrewzm/deepspat/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "cli",
    "config",
    "data.table",
    "dotCall64",
    "dplyr",
    "evd",
    "fields",
    "generics",
    "glue",
    "here",
    "jsonlite",
    "keras",
    "lattice",
    "lifecycle",
    "magrittr",
    "maps",
    "Matrix",
    "pillar",
    "pkgconfig",
    "png",
    "processx",
    "ps",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "spam",
    "SpatialExtremes",
    "tensorflow",
    "tfautograph",
    "tfprobability",
    "tfruns",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "yaml",
    "zeallot"
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "deepspat",
  "_universes": [
    "andrewzm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T11:35:46.000Z",
      "distro": "noble",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "02e4dc2f77c97cf47ddebcbea2342bc5cc299db76c3dde10efacb52ce167c61a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T11:35:40.000Z",
      "distro": "noble",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "cecfede4e18be34de7b0376688bf8c324b48e55890c7ec38b98bf356677407ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-02T11:34:51.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "6a7840f15d018ac71a9fcdb13e65c9d7ae91b355ff006548a6e5d10a2658df26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-02T11:34:52.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "5b3e045993d1e8a2ce64f72dd0a2997283a77a2842a4c5f87c45915bdf0e1fa6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-06-02T11:35:19.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "c8a0ab8ddb0790954e40f53879bcde8acab077cf139cce9af74b05fe672cacc1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T11:35:14.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "f917938c1e9d1f2432734881b7361dfb4fc7f61f14680ca0d586754f96886fd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T11:34:28.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "0d9bbe9917ed2cccf99b1c04afde282d9d25e7dacfe3f422ff7c45fb7e8b4273",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-02T11:34:21.000Z",
      "commit": "0a38d2c0a7ceb095a2f881829adbd5bd4c1600ec",
      "fileid": "162ccdd3eb2b92db94dfb303c50c80c1ef7a23487184556e594dd056d0630d11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/26816813807"
    }
  ]
}