Package: BKP 0.2.3.9000

BKP: Beta Kernel Process Modeling
Implements the Beta Kernel Process (BKP) for nonparametric modeling of spatially varying binomial probabilities, together with its extension, the Dirichlet Kernel Process (DKP), for categorical or multinomial data. The package provides functions for model fitting, predictive inference with uncertainty quantification, posterior simulation, and visualization in one-and two-dimensional input spaces. Multiple kernel functions (Gaussian, Matern 5/2, and Matern 3/2) are supported, with hyperparameters optimized through multi-start gradient-based search. For more details, see Zhao, Qing, and Xu (2025) <doi:10.48550/arXiv.2508.10447>.
Authors:
BKP_0.2.3.9000.tar.gz
BKP_0.2.3.9000.zip(r-4.7)BKP_0.2.3.9000.zip(r-4.6)BKP_0.2.3.9000.zip(r-4.5)
BKP_0.2.3.9000.tgz(r-4.6-x86_64)BKP_0.2.3.9000.tgz(r-4.6-arm64)BKP_0.2.3.9000.tgz(r-4.5-x86_64)BKP_0.2.3.9000.tgz(r-4.5-arm64)
BKP_0.2.3.9000.tar.gz(r-4.7-arm64)BKP_0.2.3.9000.tar.gz(r-4.7-x86_64)BKP_0.2.3.9000.tar.gz(r-4.6-arm64)BKP_0.2.3.9000.tar.gz(r-4.6-x86_64)
BKP_0.2.3.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
BKP/json (API)
NEWS
| # Install 'BKP' in R: |
| install.packages('BKP', repos = c('https://jiangyan-zhao.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jiangyan-zhao/bkp/issues
bayesian-nonparametric-modelsbeta-binomialbeta-kernel-processbeta-processdirichlet-kernel-processdirichlet-multinomialdirichlet-processkernel-methodsopenblascppopenmp
Last updated from:dbc49e5058. Checks:12 OK, 1 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 203 | ||
| linux-devel-x86_64 | OK | 210 | ||
| source / vignettes | OK | 220 | ||
| linux-release-arm64 | OK | 217 | ||
| linux-release-x86_64 | OK | 203 | ||
| macos-release-arm64 | ERROR | 134 | ||
| macos-release-x86_64 | OK | 498 | ||
| macos-oldrel-arm64 | OK | 179 | ||
| macos-oldrel-x86_64 | OK | 278 | ||
| windows-devel | OK | 200 | ||
| windows-release | OK | 243 | ||
| windows-oldrel | OK | 216 | ||
| wasm-release | OK | 148 |
Exports:fit_BKPfit_DKPfit_TwinBKPfit_TwinDKPget_priorkernel_matrixloss_funparameter
Dependencies:cliclustercpp11dirmultfarverggplot2gluegridExtragtableisobandlabelinglatticelifecyclemaptreenloptrnumDerivoptimxpracmaR6RColorBrewerRcppRcppArmadillorlangrpartS7scalestgpvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Beta Kernel Process Modeling | BKP-package |
| Fit a Beta Kernel Process (BKP) Model | fit_BKP |
| Fit a Dirichlet Kernel Process (DKP) Model | fit_DKP |
| Fit a Twin Beta Kernel Process (TwinBKP) Model | fit_TwinBKP |
| Fit a Twin Dirichlet Kernel Process (TwinDKP) Model | fit_TwinDKP |
| Extract BKP or DKP Model Fitted Values | fitted fitted.BKP fitted.DKP fitted.TwinBKP fitted.TwinDKP |
| Construct Prior Parameters for BKP/DKP Models | get_prior |
| Compute Kernel Matrix Between Input Locations | kernel_matrix |
| Loss Function for BKP and DKP Models | loss_fun |
| Extract Model Parameters from a Fitted BKP or DKP Model | parameter parameter.BKP parameter.DKP |
| Plot Fitted BKP or DKP Models | plot plot.BKP plot.DKP plot.TwinBKP plot.TwinDKP |
| Posterior Prediction for BKP or DKP Models | predict predict.BKP predict.DKP |
| Predict from a Fitted TwinBKP Model | predict.TwinBKP |
| Predict from a Fitted TwinDKP Model | predict.TwinDKP |
| Print Methods for BKP and DKP Objects | print print.BKP print.DKP print.predict_BKP print.predict_DKP 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 |
| Posterior Quantiles from a Fitted BKP or DKP Model | quantile quantile.BKP quantile.DKP quantile.TwinBKP quantile.TwinDKP |
| Simulate from a Fitted BKP or DKP Model | simulate simulate.BKP simulate.DKP simulate.TwinBKP simulate.TwinDKP |
| Summary of a Fitted BKP or DKP Model | summary summary.BKP summary.DKP summary.TwinBKP summary.TwinDKP |
