pub struct BayesianLinearImputer {
pub max_iter: usize,
pub tol: f64,
pub alpha: f64,
pub beta: f64,
}Expand description
Bayesian Linear Imputer
Fields§
§max_iter: usizemax_iter
tol: f64tol
alpha: f64alpha
beta: f64beta
Implementations§
Source§impl BayesianLinearImputer
impl BayesianLinearImputer
pub fn new() -> Self
pub fn fit_transform( &self, _X: &ArrayView2<'_, f64>, ) -> Result<Array2<f64>, String>
Trait Implementations§
Source§impl Clone for BayesianLinearImputer
impl Clone for BayesianLinearImputer
Source§fn clone(&self) -> BayesianLinearImputer
fn clone(&self) -> BayesianLinearImputer
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 moreSource§impl Debug for BayesianLinearImputer
impl Debug for BayesianLinearImputer
Auto Trait Implementations§
impl Freeze for BayesianLinearImputer
impl RefUnwindSafe for BayesianLinearImputer
impl Send for BayesianLinearImputer
impl Sync for BayesianLinearImputer
impl Unpin for BayesianLinearImputer
impl UnwindSafe for BayesianLinearImputer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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