Supplement 1. Matlab code containing the MCMC algorithms used in the example.
收藏DataCite Commons2020-09-04 更新2024-08-17 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_Matlab_code_containing_the_MCMC_algorithms_used_in_the_example_/3513899
下载链接
链接失效反馈官方服务:
资源简介:
File List cluster_MCMC.txt -- Matlab code for MCMC clustering algorithm Description cluster_MCMC.txt performs MCMC clustering and source assignment for multivariate data sets following the procedures described in the main text and appendix. To use in Matlab, change the file extension from .txt to .m and place in the Matlab working directory. cluster_MCMC is then executed from the Matlab command line; required input arguments are the data matrix ("X"), the proposed number of sources ("K"), the number of MCMC iterations to perform ("M"), the number of iterations to discard as burn-in ("burn"), and the number of iterations for the relabelling algorithm ("Unswitch"). The function returns a structure variable with fields containing source assignments and a variety of summary statistics, including DIC. Users should try a range of values of K, making multiple runs fo a given K to ensure convergence. DIC values for different values of K should then be compared to identify the correct number of sources. Additional instructions are embedded in the file.
提供机构:
Wiley
创建时间:
2016-08-04



