R/RcppExports.R

Defines functions orsf_cpp compute_mse_exported expand_y_clsf cph_scale scale_x_exported x_submat_mult_beta_pd_exported x_submat_mult_beta_exported find_rows_inbag_exported sprout_node_survival_exported find_cuts_survival_exported is_col_splittable_exported compute_var_reduction_exported compute_pred_prob_exported compute_gini_exported compute_logrank_exported compute_cstat_clsf_exported compute_cstat_surv_exported_uvec compute_cstat_surv_exported_vec logreg_fit_exported linreg_fit_exported coxph_fit_exported

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

coxph_fit_exported <- function(x_node, y_node, w_node, method, epsilon, iter_max) {
    .Call(`_aorsf_coxph_fit_exported`, x_node, y_node, w_node, method, epsilon, iter_max)
}

linreg_fit_exported <- function(x_node, y_node, w_node, do_scale, epsilon, iter_max) {
    .Call(`_aorsf_linreg_fit_exported`, x_node, y_node, w_node, do_scale, epsilon, iter_max)
}

logreg_fit_exported <- function(x_node, y_node, w_node, do_scale, epsilon, iter_max) {
    .Call(`_aorsf_logreg_fit_exported`, x_node, y_node, w_node, do_scale, epsilon, iter_max)
}

compute_cstat_surv_exported_vec <- function(y, w, p, pred_is_risklike) {
    .Call(`_aorsf_compute_cstat_surv_exported_vec`, y, w, p, pred_is_risklike)
}

compute_cstat_surv_exported_uvec <- function(y, w, g, pred_is_risklike) {
    .Call(`_aorsf_compute_cstat_surv_exported_uvec`, y, w, g, pred_is_risklike)
}

compute_cstat_clsf_exported <- function(y, w, p) {
    .Call(`_aorsf_compute_cstat_clsf_exported`, y, w, p)
}

compute_logrank_exported <- function(y, w, g) {
    .Call(`_aorsf_compute_logrank_exported`, y, w, g)
}

compute_gini_exported <- function(y, w, g) {
    .Call(`_aorsf_compute_gini_exported`, y, w, g)
}

compute_pred_prob_exported <- function(y, w) {
    .Call(`_aorsf_compute_pred_prob_exported`, y, w)
}

compute_var_reduction_exported <- function(y_node, w_node, g_node) {
    .Call(`_aorsf_compute_var_reduction_exported`, y_node, w_node, g_node)
}

is_col_splittable_exported <- function(x, y, r, j) {
    .Call(`_aorsf_is_col_splittable_exported`, x, y, r, j)
}

find_cuts_survival_exported <- function(y, w, lincomb, leaf_min_events, leaf_min_obs, split_rule_R) {
    .Call(`_aorsf_find_cuts_survival_exported`, y, w, lincomb, leaf_min_events, leaf_min_obs, split_rule_R)
}

sprout_node_survival_exported <- function(y, w) {
    .Call(`_aorsf_sprout_node_survival_exported`, y, w)
}

find_rows_inbag_exported <- function(rows_oobag, n_obs) {
    .Call(`_aorsf_find_rows_inbag_exported`, rows_oobag, n_obs)
}

x_submat_mult_beta_exported <- function(x, y, w, x_rows, x_cols, beta) {
    .Call(`_aorsf_x_submat_mult_beta_exported`, x, y, w, x_rows, x_cols, beta)
}

x_submat_mult_beta_pd_exported <- function(x, y, w, x_rows, x_cols, beta, pd_x_vals, pd_x_cols) {
    .Call(`_aorsf_x_submat_mult_beta_pd_exported`, x, y, w, x_rows, x_cols, beta, pd_x_vals, pd_x_cols)
}

scale_x_exported <- function(x, w) {
    .Call(`_aorsf_scale_x_exported`, x, w)
}

cph_scale <- function(x, w) {
    .Call(`_aorsf_cph_scale`, x, w)
}

expand_y_clsf <- function(y, n_class) {
    .Call(`_aorsf_expand_y_clsf`, y, n_class)
}

compute_mse_exported <- function(y, w, p) {
    .Call(`_aorsf_compute_mse_exported`, y, w, p)
}

orsf_cpp <- function(x, y, w, tree_type_R, tree_seeds, loaded_forest, lincomb_R_function, oobag_R_function, n_tree, mtry, sample_with_replacement, sample_fraction, vi_type_R, vi_max_pvalue, leaf_min_events, leaf_min_obs, split_rule_R, split_min_events, split_min_obs, split_min_stat, split_max_cuts, split_max_retry, lincomb_type_R, lincomb_eps, lincomb_iter_max, lincomb_scale, lincomb_alpha, lincomb_df_target, lincomb_ties_method, pred_mode, pred_type_R, pred_horizon, pred_aggregate, oobag, oobag_eval_type_R, oobag_eval_every, pd_type_R, pd_x_vals, pd_x_cols, pd_probs, n_thread, write_forest, run_forest, verbosity) {
    .Call(`_aorsf_orsf_cpp`, x, y, w, tree_type_R, tree_seeds, loaded_forest, lincomb_R_function, oobag_R_function, n_tree, mtry, sample_with_replacement, sample_fraction, vi_type_R, vi_max_pvalue, leaf_min_events, leaf_min_obs, split_rule_R, split_min_events, split_min_obs, split_min_stat, split_max_cuts, split_max_retry, lincomb_type_R, lincomb_eps, lincomb_iter_max, lincomb_scale, lincomb_alpha, lincomb_df_target, lincomb_ties_method, pred_mode, pred_type_R, pred_horizon, pred_aggregate, oobag, oobag_eval_type_R, oobag_eval_every, pd_type_R, pd_x_vals, pd_x_cols, pd_probs, n_thread, write_forest, run_forest, verbosity)
}
bcjaeger/aorsf documentation built on April 3, 2025, 4:16 p.m.