pub struct ArdConfig {
pub alpha_init: f64,
pub beta_init: f64,
pub max_iter: usize,
pub tol: f64,
pub update_beta: bool,
}Expand description
Configuration for the BLR+ARD EM fitting loop.
Defaults match the Python reference:
alpha_init=1.0, beta_init=1.0, max_iter=100, tol=1e-5, update_beta=true.
Fields§
§alpha_init: f64Initial value for all ARD precision hyperparameters α_j.
beta_init: f64Initial noise precision β = 1/σ².
max_iter: usizeMaximum number of EM iterations.
tol: f64Convergence tolerance on the period-2 log-evidence delta.
update_beta: boolWhether to update β during the M-step.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArdConfig
impl RefUnwindSafe for ArdConfig
impl Send for ArdConfig
impl Sync for ArdConfig
impl Unpin for ArdConfig
impl UnsafeUnpin for ArdConfig
impl UnwindSafe for ArdConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more