@@ -5,16 +5,8 @@ run_bgmCompare_parallel <- function(observations, num_groups, num_obs_categories
55 .Call(`_bgms_run_bgmCompare_parallel` , observations , num_groups , num_obs_categories , sufficient_blume_capel , sufficient_pairwise , num_categories , main_alpha , main_beta , pairwise_scale , difference_scale , difference_selection_alpha , difference_selection_beta , difference_prior , iter , burnin , na_impute , missing_data_indices , is_ordinal_variable , baseline_category , difference_selection , main_effect_indices , pairwise_effect_indices , target_accept , nuts_max_depth , learn_mass_matrix , projection , group_membership , group_indices , interaction_index_matrix , inclusion_probability , num_chains , nThreads )
66}
77
8- run_gibbs_sampler_for_bgmCompare <- function (chain_id , observations , num_groups , num_obs_categories , sufficient_blume_capel , sufficient_pairwise , num_categories , main_alpha , main_beta , pairwise_scale , difference_scale , difference_selection_alpha , difference_selection_beta , difference_prior , iter , burnin , na_impute , missing_data_indices , is_ordinal_variable , baseline_category , difference_selection , main_effect_indices , pairwise_effect_indices , target_accept , nuts_max_depth , learn_mass_matrix , projection , group_membership , group_indices , interaction_index_matrix , inclusion_probability ) {
9- .Call(`_bgms_run_gibbs_sampler_for_bgmCompare` , chain_id , observations , num_groups , num_obs_categories , sufficient_blume_capel , sufficient_pairwise , num_categories , main_alpha , main_beta , pairwise_scale , difference_scale , difference_selection_alpha , difference_selection_beta , difference_prior , iter , burnin , na_impute , missing_data_indices , is_ordinal_variable , baseline_category , difference_selection , main_effect_indices , pairwise_effect_indices , target_accept , nuts_max_depth , learn_mass_matrix , projection , group_membership , group_indices , interaction_index_matrix , inclusion_probability )
10- }
11-
12- run_bgm_parallel <- function (observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads ) {
13- .Call(`_bgms_run_bgm_parallel` , observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads )
14- }
15-
16- run_gibbs_sampler_for_bgm <- function (chain_id , observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix ) {
17- .Call(`_bgms_run_gibbs_sampler_for_bgm` , chain_id , observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix )
8+ run_bgm_parallel <- function (observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads , seed ) {
9+ .Call(`_bgms_run_bgm_parallel` , observations , num_categories , interaction_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , num_obs_categories , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , is_ordinal_variable , reference_category , edge_selection , update_method , pairwise_effect_indices , target_accept , sufficient_pairwise , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads , seed )
1810}
1911
2012sample_omrf_gibbs <- function (no_states , no_variables , no_categories , interactions , thresholds , iter ) {
0 commit comments