ChiRP

ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering - Published in JOSS (2019)

https://github.com/stablemarkets/chirp

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

bayesian bayesian-statistics nonparametric-regression nonparametric-statistics nonparametricbayes r
Last synced: 6 months ago · JSON representation

Repository

Chinese Restaurant Process Models for Regression and Clustering. Master branch contains latest stable build.

Basic Info
Statistics
  • Stars: 12
  • Watchers: 1
  • Forks: 3
  • Open Issues: 2
  • Releases: 1
Topics
bayesian bayesian-statistics nonparametric-regression nonparametric-statistics nonparametricbayes r
Created about 7 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering

Development Status:

License: MIT Build Status Coveralls github

status

DOI

About

The R package ChiRP is an MCMC-based implementation of Chinese Restaurant Process (CRP) mixtures for regression and clustering. CRP models (aka Dirichlet Process models) are a class of Bayesian nonparametric models. We provide facilities for zero-inflated semi-continuous outcomes, continuous outcomes, and binary outcomes.

Installation

Install using devtools package ```

install.packages('devtools' ) ## make sure to have devtools installed

devtools::install_github('stablemarkets/ChiRP') library(ChiRP) ```

Documentation and Examples

The companion web site contains the statistical details of the model as well as several replicable examples.

Help documentation in R is also available. After installing the package and loading it with library(), use ? to access help documentation for specific functions: ?ChiRP::NDPMix # for continuous outcomes: outputs draws of posterior *predictive* Y | X ~ N( E[Y|X], sd )), not draws of E[Y|X]. ?ChiRP::fDPMix # for continuous outcomes: outputs draws of posterior regression E[Y|X] ) ?ChiRP::ZDPMix # for zero-inflated, semi-continuous outcomes ?ChiRP::PDPMix # for binary outcomes ?ChiRP::cluster_assign_mode # computes posterior mode cluster assignment The help file for each function contains an example that you can run directly in your R session.

Reporting Issues

ChiRP uses the testthat package for unit-testing and Travis CI for continuous integration. Coverage of unit test is tracked using Coveralls.

If you encounter any bugs or have feature requests, please open an issue on GitHub.

Contributing to ChiRP

You can contribute in two ways:

  1. Contribute to base code: First, start an issue in this repository with the proposed modification. Fork this repository, make changes/enhancements, then submit a pull request. The issue will be closed once the pull request is merged.
  2. Contribute an example: First, start an issue in the companion site's repository. Fork the repository and add a new example to examples.Rmd. Use rmarkdown::render_site() to build the site. Submit a pull request in that same repository. The issue will be closed once updates are merged.

Contact

The corresponding package author is Arman Oganisian (email: aoganisi@upenn.edu). You can follow updates about the package on twitter.

Owner

  • Name: Arman Oganisian
  • Login: stablemarkets
  • Kind: user
  • Location: Providence, RI
  • Company: Brown University

Assistant Professor of Biostatistics @ Brown University

JOSS Publication

ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering
Published
March 26, 2019
Volume 4, Issue 35, Page 1287
Authors
Arman Oganisian ORCID
Department of Biostatistics, Epidemiology, and Informatics, University of Pennsylvania
Editor
Pjotr Prins ORCID
Tags
Bayesian Nonparametric Clustering Dirichlet Process Chinese Restaurant

GitHub Events

Total
Last Year

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 105
  • Total Committers: 2
  • Avg Commits per committer: 52.5
  • Development Distribution Score (DDS): 0.029
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Arman Oganisian a****n@g****m 102
Abraham Lagat a****k@g****m 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 5
  • Total pull requests: 9
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.2
  • Average comments per pull request: 0.22
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stablemarkets (4)
  • donskerclass (1)
Pull Request Authors
  • stablemarkets (8)
  • lagvier (1)
Top Labels
Issue Labels
enhancement (3) bug (1)
Pull Request Labels

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • LaplacesDemon * imports
  • MASS * imports
  • invgamma * imports
  • mvtnorm * imports
  • testthat * suggests