@@ -13,23 +13,22 @@ rcpp_ieee754_log <- function(x) {
1313 .Call(`_bgms_rcpp_ieee754_log` , x )
1414}
1515
16- sample_omrf_gibbs <- function (no_states , no_variables , no_categories , interactions , thresholds , iter ) {
17- .Call(`_bgms_sample_omrf_gibbs ` , no_states , no_variables , no_categories , interactions , thresholds , iter )
16+ run_bgmCompare_parallel <- function (observations , num_groups , counts_per_category , blume_capel_stats , pairwise_stats , 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 , seed , update_method , hmc_num_leapfrogs ) {
17+ .Call(`_bgms_run_bgmCompare_parallel ` , observations , num_groups , counts_per_category , blume_capel_stats , pairwise_stats , 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 , seed , update_method , hmc_num_leapfrogs )
1818}
1919
20- sample_bcomrf_gibbs <- function (no_states , no_variables , no_categories , interactions , thresholds , variable_type , reference_category , iter ) {
21- .Call(`_bgms_sample_bcomrf_gibbs ` , no_states , no_variables , no_categories , interactions , thresholds , variable_type , reference_category , iter )
20+ run_bgm_parallel <- function (observations , num_categories , pairwise_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , counts_per_category , blume_capel_stats , main_alpha , main_beta , na_impute , missing_index , is_ordinal_variable , baseline_category , edge_selection , update_method , pairwise_effect_indices , target_accept , pairwise_stats , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads , seed ) {
21+ .Call(`_bgms_run_bgm_parallel ` , observations , num_categories , pairwise_scale , edge_prior , inclusion_probability , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , interaction_index_matrix , iter , burnin , counts_per_category , blume_capel_stats , main_alpha , main_beta , na_impute , missing_index , is_ordinal_variable , baseline_category , edge_selection , update_method , pairwise_effect_indices , target_accept , pairwise_stats , hmc_num_leapfrogs , nuts_max_depth , learn_mass_matrix , num_chains , nThreads , seed )
2222}
2323
24- gibbs_sampler <- function (observations , indicator , interactions , thresholds , no_categories , interaction_scale , proposal_sd , proposal_sd_blumecapel , edge_prior , theta , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , Index , iter , burnin , n_cat_obs , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , variable_bool , reference_category , save = FALSE , display_progress = FALSE , edge_selection = TRUE ) {
25- .Call(`_bgms_gibbs_sampler ` , observations , indicator , interactions , thresholds , no_categories , interaction_scale , proposal_sd , proposal_sd_blumecapel , edge_prior , theta , beta_bernoulli_alpha , beta_bernoulli_beta , dirichlet_alpha , lambda , Index , iter , burnin , n_cat_obs , sufficient_blume_capel , threshold_alpha , threshold_beta , na_impute , missing_index , variable_bool , reference_category , save , display_progress , edge_selection )
24+ sample_omrf_gibbs <- function (no_states , no_variables , no_categories , interactions , thresholds , iter ) {
25+ .Call(`_bgms_sample_omrf_gibbs ` , no_states , no_variables , no_categories , interactions , thresholds , iter )
2626}
2727
28- compare_anova_gibbs_sampler <- function (observations , main_effect_indices , pairwise_effect_indices , projection , num_categories , num_groups , group_indices , interaction_scale , pairwise_difference_scale , main_difference_scale , pairwise_difference_prior , main_difference_prior , inclusion_probability_difference , pairwise_beta_bernoulli_alpha , pairwise_beta_bernoulli_beta , main_beta_bernoulli_alpha , main_beta_bernoulli_beta , Index , iter , burnin , num_obs_categories , sufficient_blume_capel , prior_threshold_alpha , prior_threshold_beta , na_impute , missing_data_indices , is_ordinal_variable , baseline_category , independent_thresholds , save_main = FALSE , save_pairwise = FALSE , save_indicator = FALSE , display_progress = FALSE , difference_selection = TRUE ) {
29- .Call(`_bgms_compare_anova_gibbs_sampler ` , observations , main_effect_indices , pairwise_effect_indices , projection , num_categories , num_groups , group_indices , interaction_scale , pairwise_difference_scale , main_difference_scale , pairwise_difference_prior , main_difference_prior , inclusion_probability_difference , pairwise_beta_bernoulli_alpha , pairwise_beta_bernoulli_beta , main_beta_bernoulli_alpha , main_beta_bernoulli_beta , Index , iter , burnin , num_obs_categories , sufficient_blume_capel , prior_threshold_alpha , prior_threshold_beta , na_impute , missing_data_indices , is_ordinal_variable , baseline_category , independent_thresholds , save_main , save_pairwise , save_indicator , display_progress , difference_selection )
28+ sample_bcomrf_gibbs <- function (no_states , no_variables , no_categories , interactions , thresholds , variable_type , reference_category , iter ) {
29+ .Call(`_bgms_sample_bcomrf_gibbs ` , no_states , no_variables , no_categories , interactions , thresholds , variable_type , reference_category , iter )
3030}
3131
3232compute_Vn_mfm_sbm <- function (no_variables , dirichlet_alpha , t_max , lambda ) {
3333 .Call(`_bgms_compute_Vn_mfm_sbm` , no_variables , dirichlet_alpha , t_max , lambda )
34- }
35-
34+ }
0 commit comments