|
7 | 7 | SamplerOutput run_gibbs_sampler_for_bgmCompare( |
8 | 8 | int chain_id, |
9 | 9 | arma::imat observations, |
10 | | - int num_groups, |
| 10 | + const int num_groups, |
11 | 11 | std::vector<arma::imat> num_obs_categories, |
12 | 12 | std::vector<arma::imat> sufficient_blume_capel, |
13 | 13 | std::vector<arma::mat> sufficient_pairwise, |
14 | 14 | const arma::ivec& num_categories, |
15 | | - double main_alpha, |
16 | | - double main_beta, |
17 | | - double pairwise_scale, |
18 | | - double difference_scale, |
19 | | - double difference_selection_alpha, |
20 | | - double difference_selection_beta, |
| 15 | + const double main_alpha, |
| 16 | + const double main_beta, |
| 17 | + const double pairwise_scale, |
| 18 | + const double difference_scale, |
| 19 | + const double difference_selection_alpha, |
| 20 | + const double difference_selection_beta, |
21 | 21 | const std::string& difference_prior, |
22 | | - int iter, |
23 | | - int burnin, |
24 | | - bool na_impute, |
| 22 | + const int iter, |
| 23 | + const int burnin, |
| 24 | + const bool na_impute, |
25 | 25 | const arma::imat& missing_data_indices, |
26 | 26 | const arma::uvec& is_ordinal_variable, |
27 | 27 | const arma::ivec& baseline_category, |
28 | | - bool difference_selection, |
| 28 | + const bool difference_selection, |
29 | 29 | const arma::imat& main_effect_indices, |
30 | 30 | const arma::imat& pairwise_effect_indices, |
31 | | - double target_accept, |
32 | | - int nuts_max_depth, |
33 | | - bool learn_mass_matrix, |
| 31 | + const double target_accept, |
| 32 | + const int nuts_max_depth, |
| 33 | + const bool learn_mass_matrix, |
34 | 34 | const arma::mat& projection, |
35 | 35 | const arma::ivec& group_membership, |
36 | 36 | const arma::imat& group_indices, |
|
0 commit comments