{
  "_id": "6a0f68c2acfb0bcc41c5dbef",
  "Package": "tgp",
  "Title": "Bayesian Treed Gaussian Process Models",
  "Version": "2.4-23",
  "Date": "2024-08-22",
  "Authors@R": "c(person(given = c(\"Robert\", \"B.\"),\nfamily = \"Gramacy\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rbg@vt.edu\"),\nperson(given = c(\"Matt\", \"A.\"),\nfamily = \"Taddy\",\nrole = \"aut\"))",
  "Description": "Bayesian nonstationary, semiparametric nonlinear\nregression and design by treed Gaussian processes (GPs) with\njumps to the limiting linear model (LLM).  Special cases also\nimplemented include Bayesian linear models, CART, treed linear\nmodels, stationary separable and isotropic GPs, and GP\nsingle-index models.  Provides 1-d and 2-d plotting functions\n(with projection and slice capabilities) and tree drawing,\ndesigned for visualization of tgp-class output.  Sensitivity\nanalysis and multi-resolution models are supported. Sequential\nexperimental design and adaptive sampling functions are also\nprovided, including ALM, ALC, and expected improvement.  The\nlatter supports derivative-free optimization of noisy black-box\nfunctions.  For details and tutorials, see Gramacy (2007)\n<doi:10.18637/jss.v019.i09> and Gramacy & Taddy (2010)\n<doi:10.18637/jss.v033.i06>.",
  "Maintainer": "Robert B. Gramacy <rbg@vt.edu>",
  "License": "LGPL",
  "URL": "https://bobby.gramacy.com/r_packages/tgp/",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-21 09:13:05 UTC",
    "User": "root"
  },
  "Author": "Robert B. Gramacy [aut, cre], Matt A. Taddy [aut]",
  "Repository": "https://rbgramacy.r-universe.dev",
  "Date/Publication": "2024-09-04 02:54:09 UTC",
  "RemoteUrl": "https://github.com/cran/tgp",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee420b9727b856b5173680c7112b600375731e35",
  "MD5sum": "c1ba5228f1661c7c55b0006db9452676",
  "_user": "rbgramacy",
  "_type": "src",
  "_file": "tgp_2.4-23.tar.gz",
  "_fileid": "a968e18bfe7d0964b2e0125328ddbec2becbb5a4ba09f0be3f37c566c2d89781",
  "_filesize": 3605794,
  "_sha256": "a968e18bfe7d0964b2e0125328ddbec2becbb5a4ba09f0be3f37c566c2d89781",
  "_created": "2026-05-21T09:13:05.000Z",
  "_published": "2026-05-21T20:19:14.311Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77260744915,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131856994"
    },
    {
      "job": 77260745077,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131852960"
    },
    {
      "job": 77260745474,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131853631"
    },
    {
      "job": 77260745094,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131854862"
    },
    {
      "job": 77260744645,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131853356"
    },
    {
      "job": 77260745082,
      "time": 220,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131888406"
    },
    {
      "job": 77260744848,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131849345"
    },
    {
      "job": 77260745107,
      "time": 313,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131921618"
    },
    {
      "job": 77260744093,
      "time": 1548,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131808935"
    },
    {
      "job": 77260744003,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146264588"
    },
    {
      "job": 77260744922,
      "time": 196,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131879886"
    },
    {
      "job": 77260744783,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131854721"
    },
    {
      "job": 77260744570,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131852562"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/tgp",
  "_commit": {
    "id": "ee420b9727b856b5173680c7112b600375731e35",
    "author": "Robert B. Gramacy <rbg@vt.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.4-23\n",
    "time": 1725418449
  },
  "_maintainer": {
    "name": "Robert B. Gramacy",
    "email": "rbg@vt.edu",
    "login": "rbgramacy",
    "description": "",
    "uuid": 4820835
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.14.0",
      "role": "Depends"
    },
    {
      "package": "maptree",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 15,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "rbgramacy",
      "count": 16,
      "uuid": 4820835
    }
  ],
  "_userbio": {
    "uuid": 4820835,
    "type": "user",
    "name": "Robert B. Gramacy"
  },
  "_downloads": {
    "count": 5690,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tgp"
  },
  "_mentions": 3,
  "_searchresults": 259,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/tgp.html",
    "manual.pdf"
  ],
  "_realowner": "rbgramacy",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2005-12-27"
    },
    {
      "version": "1.0-1",
      "date": "2006-01-05"
    },
    {
      "version": "1.0-2",
      "date": "2006-01-13"
    },
    {
      "version": "1.1",
      "date": "2006-02-24"
    },
    {
      "version": "1.1-1",
      "date": "2006-02-27"
    },
    {
      "version": "1.1-2",
      "date": "2006-03-14"
    },
    {
      "version": "1.1-3",
      "date": "2006-04-19"
    },
    {
      "version": "1.1-4",
      "date": "2006-05-22"
    },
    {
      "version": "1.1-5",
      "date": "2006-05-29"
    },
    {
      "version": "1.1-6",
      "date": "2006-06-26"
    },
    {
      "version": "1.1-7",
      "date": "2006-08-23"
    },
    {
      "version": "1.1-8",
      "date": "2006-08-30"
    },
    {
      "version": "1.1-9",
      "date": "2006-09-04"
    },
    {
      "version": "1.1-10",
      "date": "2006-09-19"
    },
    {
      "version": "1.1-11",
      "date": "2006-09-20"
    },
    {
      "version": "1.2",
      "date": "2006-11-28"
    },
    {
      "version": "1.2-1",
      "date": "2006-12-04"
    },
    {
      "version": "1.2-2",
      "date": "2006-12-27"
    },
    {
      "version": "1.2-3",
      "date": "2007-04-11"
    },
    {
      "version": "1.2-4",
      "date": "2007-05-08"
    },
    {
      "version": "1.2-5",
      "date": "2007-05-29"
    },
    {
      "version": "1.2-6",
      "date": "2007-06-17"
    },
    {
      "version": "2.0",
      "date": "2007-09-21"
    },
    {
      "version": "2.0-1",
      "date": "2007-10-02"
    },
    {
      "version": "2.0-2",
      "date": "2007-12-12"
    },
    {
      "version": "2.0-3",
      "date": "2007-12-30"
    },
    {
      "version": "2.0-4",
      "date": "2008-01-25"
    },
    {
      "version": "2.1",
      "date": "2008-03-24"
    },
    {
      "version": "2.1-1",
      "date": "2008-04-08"
    },
    {
      "version": "2.1-2",
      "date": "2008-04-18"
    },
    {
      "version": "2.1-3",
      "date": "2008-10-09"
    },
    {
      "version": "2.1-4",
      "date": "2008-10-19"
    },
    {
      "version": "2.1-5",
      "date": "2008-10-25"
    },
    {
      "version": "2.1-6",
      "date": "2008-11-27"
    },
    {
      "version": "2.2",
      "date": "2009-02-04"
    },
    {
      "version": "2.2-1",
      "date": "2009-02-20"
    },
    {
      "version": "2.2-2",
      "date": "2009-05-29"
    },
    {
      "version": "2.2-3",
      "date": "2009-07-26"
    },
    {
      "version": "2.2-4",
      "date": "2009-11-22"
    },
    {
      "version": "2.3",
      "date": "2009-12-26"
    },
    {
      "version": "2.3-1",
      "date": "2010-02-08"
    },
    {
      "version": "2.3-2",
      "date": "2010-04-22"
    },
    {
      "version": "2.3-3",
      "date": "2010-04-25"
    },
    {
      "version": "2.3-4",
      "date": "2010-07-24"
    },
    {
      "version": "2.4",
      "date": "2010-09-21"
    },
    {
      "version": "2.4-1",
      "date": "2011-02-26"
    },
    {
      "version": "2.4-2",
      "date": "2011-04-08"
    },
    {
      "version": "2.4-3",
      "date": "2011-12-19"
    },
    {
      "version": "2.4-5",
      "date": "2012-02-02"
    },
    {
      "version": "2.4-7",
      "date": "2012-04-20"
    },
    {
      "version": "2.4-8",
      "date": "2012-10-19"
    },
    {
      "version": "2.4-9",
      "date": "2013-04-04"
    },
    {
      "version": "2.4-11",
      "date": "2014-12-08"
    },
    {
      "version": "2.4-14",
      "date": "2016-02-07"
    },
    {
      "version": "2.4-16",
      "date": "2020-09-07"
    },
    {
      "version": "2.4-17",
      "date": "2020-09-20"
    },
    {
      "version": "2.4-18",
      "date": "2022-04-03"
    },
    {
      "version": "2.4-19",
      "date": "2022-08-19"
    },
    {
      "version": "2.4-20",
      "date": "2022-10-19"
    },
    {
      "version": "2.4-21",
      "date": "2023-01-06"
    },
    {
      "version": "2.4-22",
      "date": "2023-11-28"
    },
    {
      "version": "2.4-22.1",
      "date": "2024-08-17"
    },
    {
      "version": "2.4-23",
      "date": "2024-09-03"
    }
  ],
  "_exports": [
    "bcart",
    "bgp",
    "bgpllm",
    "blm",
    "btgp",
    "btgpllm",
    "btlm",
    "default.itemps",
    "dopt.gp",
    "exp2d.rand",
    "exp2d.Z",
    "fried.bool",
    "friedman.1.data",
    "hist2bar",
    "interp.loess",
    "itemps.barplot",
    "lhs",
    "mapT",
    "mean0.range1",
    "optim.ptgpf",
    "optim.step.tgp",
    "partition",
    "sens",
    "tgp.default.params",
    "tgp.design",
    "tgp.trees"
  ],
  "_datasets": [
    {
      "name": "exp2d",
      "title": "2-d Exponential Data",
      "object": "exp2d",
      "file": "exp2d.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "Z",
        "Ztrue"
      ],
      "rows": 441,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "tgp-package",
      "title": "The Treed Gaussian Process Model Package",
      "topics": [
        "tgp-package"
      ]
    },
    {
      "page": "btgp",
      "title": "Bayesian Nonparametric & Nonstationary Regression Models",
      "topics": [
        "bcart",
        "bgp",
        "bgpllm",
        "blm",
        "btgp",
        "btgpllm",
        "btlm"
      ]
    },
    {
      "page": "default.itemps",
      "title": "Default Sigmoidal, Harmonic and Geometric Temperature Ladders",
      "topics": [
        "default.itemps"
      ]
    },
    {
      "page": "dopt.gp",
      "title": "Sequential D-Optimal Design for a Stationary Gaussian Process",
      "topics": [
        "dopt.gp"
      ]
    },
    {
      "page": "exp2d",
      "title": "2-d Exponential Data",
      "topics": [
        "exp2d"
      ]
    },
    {
      "page": "exp2d.rand",
      "title": "Random 2-d Exponential Data",
      "topics": [
        "exp2d.rand"
      ]
    },
    {
      "page": "exp2d.Z",
      "title": "Random Z-values for 2-d Exponential Data",
      "topics": [
        "exp2d.Z"
      ]
    },
    {
      "page": "friedman.1.data",
      "title": "First Friedman Dataset and a variation",
      "topics": [
        "fried.bool",
        "friedman.1.data"
      ]
    },
    {
      "page": "interp.loess",
      "title": "Lowess 2-d interpolation onto a uniform grid",
      "topics": [
        "interp.loess"
      ]
    },
    {
      "page": "itemps",
      "title": "Functions to plot summary information about the sampled inverse temperatures, tree heights, etc., stored in the traces of a \"tgp\"-class object",
      "topics": [
        "hist2bar",
        "itemps.barplot"
      ]
    },
    {
      "page": "lhs",
      "title": "Latin Hypercube sampling",
      "topics": [
        "lhs"
      ]
    },
    {
      "page": "mapT",
      "title": "Plot the MAP partition, or add one to an existing plot",
      "topics": [
        "mapT"
      ]
    },
    {
      "page": "optim.tgp",
      "title": "Surrogate-based optimization of noisy black-box function",
      "topics": [
        "optim.ptgpf",
        "optim.step.tgp"
      ]
    },
    {
      "page": "partition",
      "title": "Partition data according to the MAP tree",
      "topics": [
        "partition"
      ]
    },
    {
      "page": "plot.tgp",
      "title": "Plotting for Treed Gaussian Process Models",
      "topics": [
        "plot.tgp"
      ]
    },
    {
      "page": "predict.tgp",
      "title": "Predict method for Treed Gaussian process models",
      "topics": [
        "predict.tgp"
      ]
    },
    {
      "page": "sens",
      "title": "Monte Carlo Bayesian Sensitivity Analysis",
      "topics": [
        "sens"
      ]
    },
    {
      "page": "tgp.default.params",
      "title": "Default Treed Gaussian Process Model Parameters",
      "topics": [
        "tgp.default.params"
      ]
    },
    {
      "page": "tgp.design",
      "title": "Sequential Treed D-Optimal Design for Treed Gaussian Process Models",
      "topics": [
        "tgp.design"
      ]
    },
    {
      "page": "tgp.trees",
      "title": "Plot the MAP Tree for each height encountered by the Markov Chain",
      "topics": [
        "tgp.trees"
      ]
    }
  ],
  "_rundeps": [
    "cluster",
    "maptree",
    "rpart"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "tgp.Rnw",
      "filename": "tgp.pdf",
      "title": "a guide to the tgp package",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2012-02-02 21:13:28",
      "modified": "2020-09-07 11:40:02",
      "commits": 3
    },
    {
      "source": "tgp2.Rnw",
      "filename": "tgp2.pdf",
      "title": "new features in tgp version 2.x",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2012-02-02 21:13:28",
      "modified": "2020-09-07 11:40:02",
      "commits": 2
    }
  ],
  "_score": 7.554018304074635,
  "_indexed": true,
  "_nocasepkg": "tgp",
  "_universes": [
    "rbgramacy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "b45f5f2487414ae2e1e27b7f2a3d1fb4462a780bcf2cf77df952f6bedd78bd1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "9d9ea6f858502f2501803fec3f611445ec7d3b7fb490f88aa3daa162389739b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "d101eb6d802ebc46ef1ecef6dbdda9e4dd36f872eb6e7971977fe52965e577d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "5b6aeb5d1a6f970681bdbc7f1791f0a7e10c1009c5555e004ab4a9ccbfa72075",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:10.000Z",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "5c1b6560d2db9dfa3fd6551c18d4adccee56cde5798f3ecb753a5b5e35ec848d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-05-21T09:16:14.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "6db9205ca332e8f368fc9b6fd98c9a19bb03564158fb875a9fb353a489082d8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-05-21T09:14:54.000Z",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "4a43e8541b8e4048da7a6143515158f86b7711bf62fa3b5a05000725f733f3ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-05-21T09:16:50.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "f867bf4d2979d9b61ebecb166a1a6e963702624a9928614b5ef260f619b5739b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4-23",
      "date": "2026-05-21T20:18:38.000Z",
      "arch": "emscripten",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "90879b6422d3b0fcfca7eb20a9ae1a8c91899d92c520759401fba139042f41e1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-05-21T09:15:31.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "ac4abf1cfedd7ea1f9dd893ab107b876faa2776417eebc4878495d89f387dcac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-05-21T09:14:32.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "b16a440021c0c1fdaafad3d0b34fcac8d85c0c119215dcdc73d461f6d357caf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-05-21T09:14:29.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "d6c0e88ee8a64f34bd12f96f2e48923550c0cb0b048e0b362b3eba7061ee3965",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/26215610581"
    }
  ]
}