Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

BNPmix

An efficient C++ based package to model density distributions via Bayesian nonparametric methods in R.

Prerequisite and how to install

The BNPmix package is based on RcppArmadillo tools, the GitHub version is a source pack. To install the BNPmix package, if it is not present, it is necessary to install previously the 'devtools' package:

install.packages('devtools')

Finally, it is possible to get the BNPmix package installing by the source code on GitHub:

library(devtools)
install_github("rcorradin/BNPmix")

Copy Link

Version

Install

install.packages('BNPmix')

Monthly Downloads

252

Version

1.0.2

License

LGPL-3 | file LICENSE

Maintainer

Riccardo Corradin

Last Published

July 15th, 2022

Functions in BNPmix (1.0.2)

BNPmix_VI_LB

C++ function - compute the VI lower bound
BNPpart

BNPpart class constructor
DDPdensity

MCMC for GM-dependent Dirichlet process mixtures of Gaussians
BNPdens

BNPdens class constructor
BNPmix-package

BNPmix: Bayesian Nonparametric Mixture Models
BNPdens2coda

set generic
BNPmix_BIN

C++ function - compute the Binder distances
BNPmix_psm

C++ function - compute the posterior similarity matrix
BNPdens2coda.BNPdens

Export to coda interface
CPP

Collaborative Perinatal Project data
MAR_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - PRODUCT KERNEL
MAR_mv_MKR_L

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - PRODUCT KERNEL
MAR_L

C++ function to estimate Pitman-Yor univariate mixtures via marginal sampler - LOCATION
MAR

C++ function to estimate Pitman-Yor univariate mixtures via marginal sampler - LOCATION SCALE
cICS_mv_MKR_L

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - PRODUCT KERNEL
PYcalibrate

Pitman-Yor prior elicitation
cICS

C++ function to estimate Pitman-Yor univariate mixtures via importance conditional sampler - LOCATION SCALE
cDDP

C++ function to estimate DDP models with 1 grouping variables
cICS_L

C++ function to estimate Pitman-Yor univariate mixtures via importance conditional sampler - LOCATION
cICS_mv

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - LOCATION SCALE
cICS_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - PRODUCT KERNEL
MAR_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION SCALE
cSLI_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION SCALE
clean_partition

C++ function - clean the partition matrix
cSLI_mv

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION SCALE
MAR_mv

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION SCALE
PYdensity

MCMC for Pitman-Yor mixtures of Gaussians
cSLI_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - PRODUCT KERNEL
plot.BNPdens

Density plot for BNPdens class
print.BNPdens

BNPdens print method
MAR_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION
cSLI_mv_MKR_L

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - PRODUCT KERNEL
partition.BNPdens

Estimate the partition of the data
partition

set generic
cSLI

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION SCALE
PYregression

MCMC for Pitman-Yor mixture of Gaussian regressions
cSLI_L

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION
cSLI_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION
cICS_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - PRODUCT KERNEL
cICS_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler
dBNPdens

set generic
summary.BNPdens

BNPdens summary method
dBNPdens.BNPdens

Evaluate estimated univariate densities at a given point