pub struct RAWE<'a, R, E, D> { /* private fields */ }Expand description
A struct representing a raw estimator.
This estimator is used to find an initial guess of the parameters with the given evidence. Its purpose is to provide a starting point for the other estimators, like EM.
Implementations§
Trait Implementations§
Source§impl<R: Rng + SeedableRng> CIMEstimator<CatCIM> for RAWE<'_, R, CatTrjEv, CatTrj>
impl<R: Rng + SeedableRng> CIMEstimator<CatCIM> for RAWE<'_, R, CatTrjEv, CatTrj>
Source§impl<R: Rng + SeedableRng> CIMEstimator<CatCIM> for RAWE<'_, R, CatTrjsEv, CatTrjs>
impl<R: Rng + SeedableRng> CIMEstimator<CatCIM> for RAWE<'_, R, CatTrjsEv, CatTrjs>
Source§impl<R, E, D> Labelled for RAWE<'_, R, E, D>where
D: Labelled,
impl<R, E, D> Labelled for RAWE<'_, R, E, D>where
D: Labelled,
Source§fn label_to_index(&self, x: &str) -> usize
fn label_to_index(&self, x: &str) -> usize
Return the variable index for a given label. Read more
Source§fn index_to_label(&self, x: usize) -> &str
fn index_to_label(&self, x: usize) -> &str
Return the label for a given variable index. Read more
Source§fn index_to(&self, x: usize, other: &Labels) -> usize
fn index_to(&self, x: usize, other: &Labels) -> usize
Maps an index from this model to another model with the same label. Read more
Source§fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
Maps a set of indices from this model to another model with the same labels. Read more
Auto Trait Implementations§
impl<'a, R, E, D> Freeze for RAWE<'a, R, E, D>where
D: Freeze,
impl<'a, R, E, D> RefUnwindSafe for RAWE<'a, R, E, D>
impl<'a, R, E, D> Send for RAWE<'a, R, E, D>
impl<'a, R, E, D> Sync for RAWE<'a, R, E, D>
impl<'a, R, E, D> Unpin for RAWE<'a, R, E, D>where
D: Unpin,
impl<'a, R, E, D> !UnwindSafe for RAWE<'a, R, E, D>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more