@@ -58,8 +58,8 @@ BEGIN_RCPP
5858END_RCPP
5959}
6060// run_bgm_parallel
61- Rcpp::List run_bgm_parallel (const arma::imat& observations, const arma::ivec& num_categories, double pairwise_scale, const std::string& edge_prior, const arma::mat& inclusion_probability, double beta_bernoulli_alpha, double beta_bernoulli_beta, double dirichlet_alpha, double lambda, const arma::imat& interaction_index_matrix, int iter, int warmup, const arma::imat& counts_per_category, const arma::imat& blume_capel_stats, double main_alpha, double main_beta, bool na_impute, const arma::imat& missing_index, const arma::uvec& is_ordinal_variable, const arma::ivec& baseline_category, bool edge_selection, const std::string& update_method, const arma::imat& pairwise_effect_indices, double target_accept, const arma::imat& pairwise_stats, int hmc_num_leapfrogs, int nuts_max_depth, bool learn_mass_matrix, int num_chains, int nThreads, int seed, int progress_type);
62- RcppExport SEXP _bgms_run_bgm_parallel (SEXP observationsSEXP, SEXP num_categoriesSEXP, SEXP pairwise_scaleSEXP, SEXP edge_priorSEXP, SEXP inclusion_probabilitySEXP, SEXP beta_bernoulli_alphaSEXP, SEXP beta_bernoulli_betaSEXP, SEXP dirichlet_alphaSEXP, SEXP lambdaSEXP, SEXP interaction_index_matrixSEXP, SEXP iterSEXP, SEXP warmupSEXP, SEXP counts_per_categorySEXP, SEXP blume_capel_statsSEXP, SEXP main_alphaSEXP, SEXP main_betaSEXP, SEXP na_imputeSEXP, SEXP missing_indexSEXP, SEXP is_ordinal_variableSEXP, SEXP baseline_categorySEXP, SEXP edge_selectionSEXP, SEXP update_methodSEXP, SEXP pairwise_effect_indicesSEXP, SEXP target_acceptSEXP, SEXP pairwise_statsSEXP, SEXP hmc_num_leapfrogsSEXP, SEXP nuts_max_depthSEXP, SEXP learn_mass_matrixSEXP, SEXP num_chainsSEXP, SEXP nThreadsSEXP, SEXP seedSEXP, SEXP progress_typeSEXP) {
61+ Rcpp::List run_bgm_parallel (const arma::imat& observations, const arma::ivec& num_categories, double pairwise_scale, const std::string& edge_prior, const arma::mat& inclusion_probability, double beta_bernoulli_alpha, double beta_bernoulli_beta, double beta_bernoulli_alpha_between, double beta_bernoulli_beta_between, double dirichlet_alpha, double lambda, const arma::imat& interaction_index_matrix, int iter, int warmup, const arma::imat& counts_per_category, const arma::imat& blume_capel_stats, double main_alpha, double main_beta, bool na_impute, const arma::imat& missing_index, const arma::uvec& is_ordinal_variable, const arma::ivec& baseline_category, bool edge_selection, const std::string& update_method, const arma::imat& pairwise_effect_indices, double target_accept, const arma::imat& pairwise_stats, int hmc_num_leapfrogs, int nuts_max_depth, bool learn_mass_matrix, int num_chains, int nThreads, int seed, int progress_type);
62+ RcppExport SEXP _bgms_run_bgm_parallel (SEXP observationsSEXP, SEXP num_categoriesSEXP, SEXP pairwise_scaleSEXP, SEXP edge_priorSEXP, SEXP inclusion_probabilitySEXP, SEXP beta_bernoulli_alphaSEXP, SEXP beta_bernoulli_betaSEXP, SEXP beta_bernoulli_alpha_betweenSEXP, SEXP beta_bernoulli_beta_betweenSEXP, SEXP dirichlet_alphaSEXP, SEXP lambdaSEXP, SEXP interaction_index_matrixSEXP, SEXP iterSEXP, SEXP warmupSEXP, SEXP counts_per_categorySEXP, SEXP blume_capel_statsSEXP, SEXP main_alphaSEXP, SEXP main_betaSEXP, SEXP na_imputeSEXP, SEXP missing_indexSEXP, SEXP is_ordinal_variableSEXP, SEXP baseline_categorySEXP, SEXP edge_selectionSEXP, SEXP update_methodSEXP, SEXP pairwise_effect_indicesSEXP, SEXP target_acceptSEXP, SEXP pairwise_statsSEXP, SEXP hmc_num_leapfrogsSEXP, SEXP nuts_max_depthSEXP, SEXP learn_mass_matrixSEXP, SEXP num_chainsSEXP, SEXP nThreadsSEXP, SEXP seedSEXP, SEXP progress_typeSEXP) {
6363BEGIN_RCPP
6464 Rcpp::RObject rcpp_result_gen;
6565 Rcpp::RNGScope rcpp_rngScope_gen;
@@ -70,6 +70,8 @@ BEGIN_RCPP
7070 Rcpp::traits::input_parameter< const arma::mat& >::type inclusion_probability (inclusion_probabilitySEXP);
7171 Rcpp::traits::input_parameter< double >::type beta_bernoulli_alpha (beta_bernoulli_alphaSEXP);
7272 Rcpp::traits::input_parameter< double >::type beta_bernoulli_beta (beta_bernoulli_betaSEXP);
73+ Rcpp::traits::input_parameter< double >::type beta_bernoulli_alpha_between (beta_bernoulli_alpha_betweenSEXP);
74+ Rcpp::traits::input_parameter< double >::type beta_bernoulli_beta_between (beta_bernoulli_beta_betweenSEXP);
7375 Rcpp::traits::input_parameter< double >::type dirichlet_alpha (dirichlet_alphaSEXP);
7476 Rcpp::traits::input_parameter< double >::type lambda (lambdaSEXP);
7577 Rcpp::traits::input_parameter< const arma::imat& >::type interaction_index_matrix (interaction_index_matrixSEXP);
@@ -95,7 +97,7 @@ BEGIN_RCPP
9597 Rcpp::traits::input_parameter< int >::type nThreads (nThreadsSEXP);
9698 Rcpp::traits::input_parameter< int >::type seed (seedSEXP);
9799 Rcpp::traits::input_parameter< int >::type progress_type (progress_typeSEXP);
98- rcpp_result_gen = Rcpp::wrap (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, warmup, 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, progress_type));
100+ rcpp_result_gen = Rcpp::wrap (run_bgm_parallel (observations, num_categories, pairwise_scale, edge_prior, inclusion_probability, beta_bernoulli_alpha, beta_bernoulli_beta, beta_bernoulli_alpha_between, beta_bernoulli_beta_between, dirichlet_alpha, lambda, interaction_index_matrix, iter, warmup, 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, progress_type));
99101 return rcpp_result_gen;
100102END_RCPP
101103}
@@ -182,7 +184,7 @@ END_RCPP
182184
183185static const R_CallMethodDef CallEntries[] = {
184186 {" _bgms_run_bgmCompare_parallel" , (DL_FUNC) &_bgms_run_bgmCompare_parallel, 36 },
185- {" _bgms_run_bgm_parallel" , (DL_FUNC) &_bgms_run_bgm_parallel, 32 },
187+ {" _bgms_run_bgm_parallel" , (DL_FUNC) &_bgms_run_bgm_parallel, 34 },
186188 {" _bgms_get_explog_switch" , (DL_FUNC) &_bgms_get_explog_switch, 0 },
187189 {" _bgms_rcpp_ieee754_exp" , (DL_FUNC) &_bgms_rcpp_ieee754_exp, 1 },
188190 {" _bgms_rcpp_ieee754_log" , (DL_FUNC) &_bgms_rcpp_ieee754_log, 1 },
0 commit comments