{
  "_id": "6a46d577c8416c4719cd61dd",
  "Package": "BKP",
  "Title": "Beta Kernel Process Modeling",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(given = \"Jiangyan\", family = \"Zhao\", email = \"zhaojy2017@126.com\", role = c(\"cre\", \"aut\")),\nperson(given = \"Kunhai\", family = \"Qing\", email = \"kunhaiq@qq.com\", role = \"aut\"),\nperson(given = \"Jin\", family = \"Xu\", email = \"jxu@stat.ecnu.edu.cn\", role = \"aut\")\n)",
  "Maintainer": "Jiangyan Zhao <zhaojy2017@126.com>",
  "Description": "Implements the Beta Kernel Process (BKP) for nonparametric\nmodeling of covariate-dependent binomial probabilities, and the\nDirichlet Kernel Process (DKP) for categorical or multinomial\nresponse data. Scalable global-local approximations are\nprovided through TwinBKP and TwinDKP, using twinning-selected\nglobal subsets and local nearest-neighbour updates. Functions\nare included for model fitting, predictive inference with\nuncertainty quantification, posterior simulation, and\nvisualization in one- and two-dimensional input spaces.\nGaussian, Matern 5/2, Matern 3/2, and Wendland kernels are\nsupported, with hyperparameters selected by multi-start\nderivative-free optimization. For more details, see Zhao, Qing,\nand Xu (2025) <doi:10.48550/arXiv.2508.10447>.",
  "License": "GPL (>= 3)",
  "Copyright": "See inst/COPYRIGHTS",
  "URL": "https://github.com/Jiangyan-Zhao/BKP",
  "BugReports": "https://github.com/Jiangyan-Zhao/BKP/issues",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Packaged": {
    "Date": "2026-07-02 21:12:54 UTC",
    "User": "root"
  },
  "Author": "Jiangyan Zhao [cre, aut], Kunhai Qing [aut], Jin Xu [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 15:02:03 UTC",
  "RemoteUrl": "https://github.com/cran/BKP",
  "RemoteRef": "HEAD",
  "RemoteSha": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
  "_user": "cran",
  "_type": "src",
  "_file": "BKP_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0f87b7b3c2446fdc92be3bb9661806a5b64873f7d9b954c178a2a4eaf0ed64e6",
  "_filesize": 530316,
  "_sha256": "0f87b7b3c2446fdc92be3bb9661806a5b64873f7d9b954c178a2a4eaf0ed64e6",
  "_expires": "2026-10-10T21:17:43.000Z",
  "_created": "2026-07-02T21:12:54.000Z",
  "_published": "2026-07-02T21:17:43.764Z",
  "_jobs": [
    {
      "job": 84879639372,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051822540"
    },
    {
      "job": 84879639358,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051821470"
    },
    {
      "job": 84879639375,
      "time": 206,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051825139"
    },
    {
      "job": 84879639342,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051821257"
    },
    {
      "job": 84878960456,
      "time": 227,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051753399"
    },
    {
      "job": 84879639359,
      "time": 179,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8051815705"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342",
  "_status": "success",
  "_upstream": "https://github.com/cran/BKP",
  "_commit": {
    "id": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
    "author": "Jiangyan Zhao <zhaojy2017@126.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1783004523
  },
  "_maintainer": {
    "name": "Jiangyan Zhao",
    "email": "zhaojy2017@126.com",
    "login": "jiangyan-zhao",
    "uuid": 44356918
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "nloptr",
      "role": "LinkingTo"
    },
    {
      "package": "dirmult",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tgp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-07-23"
    },
    {
      "name": "0.1.1",
      "date": "2025-08-19"
    },
    {
      "name": "0.2.0",
      "date": "2025-09-16"
    },
    {
      "name": "0.2.1",
      "date": "2025-09-17"
    },
    {
      "name": "0.2.2",
      "date": "2025-09-17"
    },
    {
      "name": "0.2.3",
      "date": "2025-09-22"
    },
    {
      "name": "0.3.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jiangyan-zhao",
      "count": 7,
      "uuid": 44356918
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 251,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BKP"
  },
  "_devurl": "https://github.com/jiangyan-zhao/bkp",
  "_searchresults": 3,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BKP.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jiangyan-zhao/bkp",
  "_realowner": "jiangyan-zhao",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-07-23"
    },
    {
      "version": "0.1.1",
      "date": "2025-08-19"
    },
    {
      "version": "0.2.0",
      "date": "2025-09-16"
    },
    {
      "version": "0.2.1",
      "date": "2025-09-17"
    },
    {
      "version": "0.2.2",
      "date": "2025-09-17"
    },
    {
      "version": "0.2.3",
      "date": "2025-09-22"
    },
    {
      "version": "0.3.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "fit_BKP",
    "fit_DKP",
    "fit_TwinBKP",
    "fit_TwinDKP",
    "get_prior",
    "kernel_matrix",
    "loss_fun",
    "parameter"
  ],
  "_help": [
    {
      "page": "BKP-package",
      "title": "Beta Kernel Process Modeling",
      "topics": [
        "BKP-package"
      ]
    },
    {
      "page": "fit_BKP",
      "title": "Fit a Beta Kernel Process (BKP) Model",
      "topics": [
        "fit_BKP"
      ]
    },
    {
      "page": "fit_DKP",
      "title": "Fit a Dirichlet Kernel Process Model",
      "topics": [
        "fit_DKP"
      ]
    },
    {
      "page": "fit_TwinBKP",
      "title": "Fit a Twin Beta Kernel Process Model",
      "topics": [
        "fit_TwinBKP"
      ]
    },
    {
      "page": "fit_TwinDKP",
      "title": "Fit a Twin Dirichlet Kernel Process Model",
      "topics": [
        "fit_TwinDKP"
      ]
    },
    {
      "page": "fitted",
      "title": "Extract Fitted Posterior Means from BKP Package Model Objects",
      "topics": [
        "fitted",
        "fitted.BKP",
        "fitted.DKP",
        "fitted.TwinBKP",
        "fitted.TwinDKP"
      ]
    },
    {
      "page": "get_prior",
      "title": "Construct Prior Parameters for BKP and DKP Models",
      "topics": [
        "get_prior"
      ]
    },
    {
      "page": "kernel_matrix",
      "title": "Compute Kernel Matrix Between Input Locations",
      "topics": [
        "kernel_matrix"
      ]
    },
    {
      "page": "loss_fun",
      "title": "Leave-One-Out Loss for BKP and DKP Models",
      "topics": [
        "loss_fun"
      ]
    },
    {
      "page": "parameter",
      "title": "Extract Model Parameters from Fitted BKP Package Models",
      "topics": [
        "parameter",
        "parameter.BKP",
        "parameter.DKP",
        "parameter.TwinBKP",
        "parameter.TwinDKP"
      ]
    },
    {
      "page": "plot",
      "title": "Plot Fitted BKP Package Model Objects",
      "topics": [
        "plot",
        "plot.BKP",
        "plot.DKP",
        "plot.TwinBKP",
        "plot.TwinDKP"
      ]
    },
    {
      "page": "predict",
      "title": "Posterior Prediction for BKP Package Model Objects",
      "topics": [
        "predict",
        "predict.BKP",
        "predict.DKP",
        "predict.TwinBKP",
        "predict.TwinDKP"
      ]
    },
    {
      "page": "print",
      "title": "Print Methods for BKP Package Objects",
      "topics": [
        "print",
        "print.BKP",
        "print.DKP",
        "print.predict_BKP",
        "print.predict_DKP",
        "print.predict_TwinBKP",
        "print.predict_TwinDKP",
        "print.simulate_BKP",
        "print.simulate_DKP",
        "print.simulate_TwinBKP",
        "print.simulate_TwinDKP",
        "print.summary_BKP",
        "print.summary_DKP",
        "print.summary_TwinBKP",
        "print.summary_TwinDKP",
        "print.TwinBKP",
        "print.TwinDKP"
      ]
    },
    {
      "page": "quantile",
      "title": "Posterior Quantiles from Fitted BKP Package Models",
      "topics": [
        "quantile",
        "quantile.BKP",
        "quantile.DKP",
        "quantile.TwinBKP",
        "quantile.TwinDKP"
      ]
    },
    {
      "page": "simulate",
      "title": "Simulate from Fitted BKP Package Models",
      "topics": [
        "simulate",
        "simulate.BKP",
        "simulate.DKP",
        "simulate.TwinBKP",
        "simulate.TwinDKP"
      ]
    },
    {
      "page": "summary",
      "title": "Summarize Fitted BKP Package Models",
      "topics": [
        "summary",
        "summary.BKP",
        "summary.DKP",
        "summary.TwinBKP",
        "summary.TwinDKP"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/BKP/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/BKP/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cluster",
    "cpp11",
    "dirmult",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "maptree",
    "nloptr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "tgp",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "bkp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jiangyan-zhao.r-universe.dev/BKP",
  "_previous": "0.2.3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-02T21:16:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
      "fileid": "https://r2.ropensci.org/33a14b57b70b25f4bebfcc36d28ae190f40de54ec0a8b9cd6f9cea670c85bd46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-02T21:15:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
      "fileid": "https://r2.ropensci.org/fdcf7f2844ff7e4e85edeb86956a4e66cd9770e4005f238320cad5ab15ae7a69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-02T21:16:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
      "fileid": "https://r2.ropensci.org/e06c89f2b35db389a076834f2de6e750693af435b056b0d971d85d514bb5ab61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-02T21:15:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
      "fileid": "https://r2.ropensci.org/1cece955b1f7b7a5301b0347839d5bb6bc135e19c7745a309cca1ac4fe392f42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-07-02T21:16:19.000Z",
      "arch": "emscripten",
      "commit": "c9adbc62ffcbb4f4b1c4369ecfef5a618d7be1f3",
      "fileid": "https://r2.ropensci.org/2bf80c8ee994df155984c62759ee4e6eb03ef2038735ee524eda6bcc657aad47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28621752342"
    }
  ]
}