{
  "_id": "6a3b9c425cdecea1d6826855",
  "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-06-24 08:50:59 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": "3c565d75df82764dca82ab3d2615e7f4",
  "_user": "rbgramacy",
  "_type": "src",
  "_file": "tgp_2.4-23.tar.gz",
  "_fileid": "15afed4d81529012b8ea48d50af4c3e8293db88f33b7f38ad21ff72c2fb8b630",
  "_filesize": 3607287,
  "_sha256": "15afed4d81529012b8ea48d50af4c3e8293db88f33b7f38ad21ff72c2fb8b630",
  "_created": "2026-06-24T08:50:59.000Z",
  "_published": "2026-06-24T08:58:42.742Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83154785172,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844678025"
    },
    {
      "job": 83154785158,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844668048"
    },
    {
      "job": 83154785164,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844677221"
    },
    {
      "job": 83154785145,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844675047"
    },
    {
      "job": 83154785165,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844659789"
    },
    {
      "job": 83154785187,
      "time": 207,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844699803"
    },
    {
      "job": 83154785174,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844673372"
    },
    {
      "job": 83154785157,
      "time": 404,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844773925"
    },
    {
      "job": 83150029310,
      "time": 1621,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844622839"
    },
    {
      "job": 83154785125,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844664368"
    },
    {
      "job": 83154785168,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7844663202"
    },
    {
      "job": 83154785147,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7844668565"
    },
    {
      "job": 83154785153,
      "time": 115,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7844666346"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505",
  "_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": 16,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "rbgramacy",
      "count": 16,
      "uuid": 4820835
    }
  ],
  "_userbio": {
    "uuid": 4820835,
    "type": "user",
    "name": "Robert B. Gramacy",
    "followers": 5
  },
  "_downloads": {
    "count": 5277,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tgp"
  },
  "_mentions": 3,
  "_searchresults": 393,
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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.730414641751107,
  "_indexed": true,
  "_nocasepkg": "tgp",
  "_universes": [
    "rbgramacy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "ce0160d0cc9850ee609747f04e99c3550f4095c78240c7a4b51bbf3fe7ec720f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "cae7a0680bc34413d7a43dc7eaf16ea4c9823b8a0e38c2294e67d3f331b7ae9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "4b1e84323a7709f284ba083ffc1b0ee87100e143face09bcc1965e04ef00af66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "e21e0163cb5dc8dc7397f241d1d2b4a8811f44becf88cce0bf9c89fee0ba57e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-06-24T08:52:47.000Z",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "44794279f2fd1ff5546338765e6bba7dd1d83b00b318a84099957fb07619b9dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-06-24T08:54:07.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "e4b88d2dab1fa5a6d8feca22bd46a0945a4333b3d7fcce354a24e8de7e97844f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:13.000Z",
      "arch": "aarch64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "d4b649fe76ce576ece6c79a9871d8776a25411c7d20d36ce3dced2f6965131a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.4-23",
      "date": "2026-06-24T08:56:33.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "d51712bb303262fb23bf53c8cd88038a73574e3e89a3ad6bff79dc5eebe5b636",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4-23",
      "date": "2026-06-24T08:53:10.000Z",
      "arch": "emscripten",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "86369925bcb8f3580b8c9e6ae17f6f7cb250572259400bc1c3bd5d9ca99008b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-06-24T08:52:20.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "9cde769f3d7cefe360f1638df35bf9c5122a8c053091517b6e4186591bdb86fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-06-24T08:52:27.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "b0c7faa9cbb1e94a1ce920fa523b0f34daebc50ef8bfd0d959ccedcda4927575",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.4-23",
      "date": "2026-06-24T08:52:22.000Z",
      "arch": "x86_64",
      "commit": "ee420b9727b856b5173680c7112b600375731e35",
      "fileid": "df54e57877ad9282c61f7368ab857654886fdc81599b113b2e40a964aad2c04b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rbgramacy/actions/runs/28085375505"
    }
  ]
}