# Variational Bayes for Latent Patient Phenotypes in EHR

## Documentation for package ‘VBphenoR’ version 1.1.0

- DESCRIPTION file.
- Package NEWS.

## Help Pages

logit_CAVI | Variational inference for Bayesian logistic regression using CAVI algorithm
run_Model | Run the Variational Bayes patient phenotyping model
scd_cohort | Synthetic Sickle Cell Anaemia data
vb_gmm_cavi | Main algorithm function for the VB CAVI GMM
VB_GMM_ELBO | Calculate the Evidence Lower Bound (ELBO)
VB_GMM_Expectation | Variational Bayes Expectation step
VB_GMM_Init | Initialise the variational parameters and the hyper parameters
VB_GMM_Maximisation | Variational Bayes Maximisation step