CRAN
Mposterior 0.1.2
Mposterior: R package for Robust and Scalable Bayes via a Median of Subset Posterior Measures
Released Jun 2, 2014 by Sanvesh Srivastava
Dependencies
RcppArmadillo 0.9.100.5.0 Rcpp
Mposterior package provides a general framework for estimating a median of subset posterior measures (M-posterior). Each subset posterior measure is represented as a matrix of posterior samples; rows represent the atoms and columns index the dimensions. All subset measures are represented as list of matrices; length of the list equals the number of subsets (or machines). The distance between subset posterior measures and M-posterior is measured using the RBF kernel. M-posterior is represented as a weighted combination of empirical measures based on subsets measures. These weights are estimated using Weiszfeld algorithm implemented in this package.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>Mposterior</artifactId> <version>0.1.2-b264</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:Mposterior')
Test Results
This package was last tested against Renjin 0.9.2689 on Aug 27, 2018.