ChiRP
ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering - Published in JOSS (2019)
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
Repository
Chinese Restaurant Process Models for Regression and Clustering. Master branch contains latest stable build.
Basic Info
- Host: GitHub
- Owner: stablemarkets
- License: mit
- Language: R
- Default Branch: master
- Homepage: https://stablemarkets.github.io/ChiRPsite/index.html
- Size: 1.32 MB
Statistics
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 2
- Releases: 1
Topics
Metadata Files
README.md
ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering 
Development Status:
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:
- 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.
- Contribute an example: First, start an issue in the companion site's repository. Fork the repository and add a new example to
examples.Rmd. Usermarkdown::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
- Website: stablemarkets.netlify.app
- Twitter: StableMarkets
- Repositories: 3
- Profile: https://github.com/stablemarkets
Assistant Professor of Biostatistics @ Brown University
JOSS Publication
ChiRP: Chinese Restaurant Process Mixtures for Regression and Clustering
Authors
Tags
Bayesian Nonparametric Clustering Dirichlet Process Chinese RestaurantGitHub Events
Total
Last Year
Committers
Last synced: 7 months ago
Top Committers
| Name | 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
Pull Request Labels
Dependencies
- R >= 3.5.0 depends
- LaplacesDemon * imports
- MASS * imports
- invgamma * imports
- mvtnorm * imports
- testthat * suggests
