pub trait BayesianModel: Send + Sync {
// Required methods
fn log_likelihood(&self, X: &ArrayView2<'_, f64>) -> f64;
fn sample_posterior(
&mut self,
X: &ArrayView2<'_, f64>,
) -> Result<(), String>;
}Expand description
Bayesian Model trait