pub struct EvidenceTerm {
pub label: &'static str,
pub bayes_factor: f64,
}Expand description
A single piece of evidence contributing to a Bayesian decision.
Bayes factor > 1 supports the chosen action; < 1 opposes it.
Fields§
§label: &'static strHuman-readable label (e.g., “change_rate”, “word_boundary”).
bayes_factor: f64Bayes factor: P(evidence | H1) / P(evidence | H0).
Implementations§
Trait Implementations§
Source§impl Clone for EvidenceTerm
impl Clone for EvidenceTerm
Source§fn clone(&self) -> EvidenceTerm
fn clone(&self) -> EvidenceTerm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EvidenceTerm
impl RefUnwindSafe for EvidenceTerm
impl Send for EvidenceTerm
impl Sync for EvidenceTerm
impl Unpin for EvidenceTerm
impl UnsafeUnpin for EvidenceTerm
impl UnwindSafe for EvidenceTerm
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