Skip to content

tianyup2/Rcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Rcode

This DP model aims at handling simple linear mixture regression model(i.e. design matrix is composed of an intercept and a predictor). An example is included in the Debugging section at the bottom of myDP_ori.R file. De-annotate Debugging section to get a quick start of myDP code.
dpreassign.R is a corrected version of the original dirichletpackage, which has revised the updating function for Gaussian kernel from conjugate to a semi-conjugate way. It can detect latent gaussian distributions in the dataset. Some other functions were also refined to boost training. See "A First Course in Bayesian Statistical Methods" Chapter 6.1 for detailed process. Author: Peter D. Hoff

About

DP for simple linear mixture regression model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages