Package: copre 0.2.2

copre: Tools for Nonparametric Martingale Posterior Sampling

Performs Bayesian nonparametric density estimation using Martingale posterior distributions including the Copula Resampling (CopRe) algorithm. Also included are a Gibbs sampler for the marginal Gibbs-type mixture model and an extension to include full uncertainty quantification via a predictive sequence resampling (SeqRe) algorithm. The CopRe and SeqRe samplers generate random nonparametric distributions as output, leading to complete nonparametric inference on posterior summaries. Routines for calculating arbitrary functionals from the sampled distributions are included as well as an important algorithm for finding the number and location of modes, which can then be used to estimate the clusters in the data using, for example, k-means. Implements work developed in Moya B., Walker S. G. (2022). <doi:10.48550/arxiv.2206.08418>, Fong, E., Holmes, C., Walker, S. G. (2021) <doi:10.48550/arxiv.2103.15671>, and Escobar M. D., West, M. (1995) <doi:10.1080/01621459.1995.10476550>.

Authors:Blake Moya [cre, aut], The University of Texas at Austin [cph, fnd]

copre_0.2.2.tar.gz
copre_0.2.2.zip(r-4.7-x86_64)copre_0.2.2.zip(r-4.7-arm64)copre_0.2.2.zip(r-4.6-x86_64)copre_0.2.2.zip(r-4.6-arm64)copre_0.2.2.zip(r-4.5-x86_64)
copre_0.2.2.tgz(r-4.6-x86_64)copre_0.2.2.tgz(r-4.6-arm64)copre_0.2.2.tgz(r-4.5-x86_64)copre_0.2.2.tgz(r-4.5-arm64)
copre_0.2.2.tar.gz(r-4.7-arm64)copre_0.2.2.tar.gz(r-4.7-x86_64)copre_0.2.2.tar.gz(r-4.6-arm64)copre_0.2.2.tar.gz(r-4.6-x86_64)
copre_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
copre/json (API)

# Install 'copre' in R:
install.packages('copre', repos = c('https://blakemoya.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/blakemoya/copre/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

bayesiandirichlet-processnonparametriccppopenmp

2.70 score 1 stars 2 scripts 399 downloads 13 exports 25 dependencies

Last updated from:ba8a2e2eea. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK146
linux-devel-x86_64OK134
source / vignettesOK223
linux-release-arm64OK121
linux-release-x86_64OK141
macos-release-arm64OK176
macos-release-x86_64OK351
macos-oldrel-arm64OK183
macos-oldrel-x86_64OK520
windows-devel-arm64OK424
windows-devel-x86_64OK181
windows-release-arm64OK371
windows-release-x86_64OK125
windows-oldrel-x86_64OK149
wasm-releaseOK125

Exports:antimodescoprefunctionalG_normlsgibbsmixgridevalmodesmomentn_modesseqreSq_dirichletSq_gnedin0Sq_pitmanyor

Dependencies:abindBHclicpp11dirichletprocessfarverggplot2gluegtablegtoolsisobandlabelinglifecyclemvtnormpracmaR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr