https://github.com/agisga/chirp

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

https://github.com/agisga/chirp

Science Score: 10.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: joss.theoj.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of stablemarkets/ChiRP
Created over 7 years ago · Last pushed over 7 years ago

https://github.com/agisga/ChiRP/blob/master/

## `ChiRP`: Chinese Restaurant Process Mixtures for Regression and Clustering 

Development Status:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/stablemarkets/ChiRP.svg?branch=master)](https://travis-ci.org/stablemarkets/ChiRP)
[![Coveralls github](https://img.shields.io/coveralls/github/stablemarkets/ChiRP.svg?style=popout)](https://coveralls.io/github/stablemarkets/ChiRP)

[![status](http://joss.theoj.org/papers/3b83a0a3f1220f97657a1075b78e480a/status.svg)](http://joss.theoj.org/papers/3b83a0a3f1220f97657a1075b78e480a)


## About
The R package `ChiRP` is an MCMC-based implementation of **Chi**nese **R**estaurant **P**rocess (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](https://stablemarkets.github.io/ChiRPsite/index.html) contains the [statistical details](https://stablemarkets.github.io/ChiRPsite/modeldesc.html) of the model as well as several [replicable examples](https://stablemarkets.github.io/ChiRPsite/examples.html). 

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
?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](https://github.com/stablemarkets/ChiRP/issues) on GitHub.

## Contact
The corresponding package author is Arman Oganisian (email: aoganisi@upenn.edu). You can follow updates about the package on [twitter](https://twitter.com/StableMarkets) .

Owner

  • Name: Alexej Gossmann
  • Login: agisga
  • Kind: user

GitHub Events

Total
Last Year