-
susiepca.infer.compute_elbo(X: Array | ndarray | bool_ | number | bool | int | float | complex, params: ModelParams) → ELBOResults[source]
Create function to compute evidence lower bound (ELBO)
- Parameters:
- X: Array | ndarray | bool_ | number | bool | int | float | complex
the observed data, an N by P ndarray
- params: ModelParams
the dictionary contains all the infered parameters
- Returns:
the object contains all components in ELBO
- Return type:
ELBOResults
Last update:
Feb 13, 2024