Man pages for zhenkewu/doubletree
Nested Latent Class Models for Domain-Adaptive and Semisupervised Learning of Cause-of-Deaths using Verbal Autopsy

acc_topkget top k accuracy
approx_sblower bound of a vector of probabilities that sum to one
cause_idsexample cause ids
cause_ids_except_APexample cause ids with NAs
compute_params_dtcompute model summaries from the model outputs
design_doubletreeOrganize the data around two rooted weighted trees
domain_idsexample cause ids
doubletreedoubletree
doubletree_blcasimulate data and subject-specific class indicators from...
example_cause_edgesEdgelist for constructing an example cause hierarchy.
example_data_doubletreesimulated data (K=2,J=20,N=1000)
example_domain_edgesEdgelist for constructing an example domain hierarchy.
expitexpit
F_doubletreeCalculate the F term; an array
fit_nlcm_doubletreeFit nested latent class model with double-tree-structured...
getCSMFaccget CSMF accuracy
get_est_cpp_dtSummarize the posterior mean, sd, and confidence interval...
get_line1_2_15_doubletreecalculate line 1, 2, and 15 of ELBO*
get_moments_cpp_doubletreeCalculate variational moments during the updates
get_moments_cpp_eco_alpha_doubletreeCalculate variational moments during the updates
get_moments_cpp_eco_gamma_doubletreeCalculate variational moments during the updates
get_topk_CODget top k ids for each row
g_fung
g_fun0g 0
g_fun.vecg, vectorized
initialize_nlcm_doubletreeInitialize the variational Bayesian algorithm for nested...
log1p_explog(1+exp(x)) (copied from moretrees:)
log1p.exp.veclog expit vectorized
logexpitlog expit
logexpit_cpplogexpit to avoid numerical underflow
logitsigmoid (copied from moretrees:)
logsumexplogsumexp
lower_bdlower bound of expit(x)
make_listTakes any number of R objects as arguments and returns a list...
mexpitmulti-expit (numerical overflow dealt with)
myhmheatmap
myrdirichgenerate random vectors from Dirichlet distribution
nlcm_doubletreewrapper function for fitting and summaries
print.nlcm_doubletree'print.nlcm_doubletree' summarizes the results from...
print.summary.nlcm_doubletree_compactCompact printing of 'nlcm_doubletree()' model fits
print.summary.nlcm_doubletree_longLong-form printing of 'nlcm_doubletree()' model fits
prob2sticktransform a vector of probabilities that sum to one to stick...
signlogsumexpsum over signed numbers, with some logsumexp applied to...
simulate_nlcm_doubletreeSimulate data from double-tree-structured nested latent class...
split_along_dimcreate a list with members being the matrices along a...
summary.nlcm_doubletree'summary.nlcm_doubletree' summarizes the results from...
tsbgenerate stick-breaking prior (truncated) from a vector of...
update_alpha_subid_doubletreeUpdate alpha's variational distribution.
update_emat_with_F_doubletreeUpdate the variational probabilities of each observation in...
update_gamma_subid_doubletreeUpdate gamma's variational distribution. Update the...
update_hyperparams_doubletreeupdate hyperparameters
update_rmat_with_F_doubletreeUpdate the variational probabilities of each observation in...
update_vi_params_doubletreeupdate variational parameters
X0example VA data from PHMRC - adult
xlogxxlogx
zhenkewu/doubletree documentation built on Oct. 21, 2023, 7:04 a.m.