pub trait VariationalRegression<D: ScalarDistribution> {
// Required methods
fn predict(&self, features: &[f64]) -> Result<D, RegressionError>;
fn weights(&self) -> &[f64];
fn bias(&self) -> Option<f64>;
}
Expand description
Represents a trained variational regression model with the specified predictive distribution type