pub struct LocalLinearImputer {
pub n_neighbors: usize,
pub degree: usize,
}Expand description
Local Linear Regression Imputer
Fields§
§n_neighbors: usizen_neighbors
degree: usizedegree
Implementations§
Source§impl LocalLinearImputer
impl LocalLinearImputer
pub fn new() -> Self
pub fn fit_transform( &self, _X: &ArrayView2<'_, f64>, ) -> Result<Array2<f64>, String>
Trait Implementations§
Source§impl Clone for LocalLinearImputer
impl Clone for LocalLinearImputer
Source§fn clone(&self) -> LocalLinearImputer
fn clone(&self) -> LocalLinearImputer
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 LocalLinearImputer
impl Debug for LocalLinearImputer
Auto Trait Implementations§
impl Freeze for LocalLinearImputer
impl RefUnwindSafe for LocalLinearImputer
impl Send for LocalLinearImputer
impl Sync for LocalLinearImputer
impl Unpin for LocalLinearImputer
impl UnwindSafe for LocalLinearImputer
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