pub struct SparseApproximationMethods;Expand description
Sparse approximation method implementations
Implementations§
Source§impl SparseApproximationMethods
impl SparseApproximationMethods
Sourcepub fn fit_sor<K: SparseKernel>(
x: &Array2<f64>,
y: &Array1<f64>,
inducing_points: &Array2<f64>,
kernel: &K,
noise_variance: f64,
) -> Result<(Array1<f64>, Array2<f64>)>
pub fn fit_sor<K: SparseKernel>( x: &Array2<f64>, y: &Array1<f64>, inducing_points: &Array2<f64>, kernel: &K, noise_variance: f64, ) -> Result<(Array1<f64>, Array2<f64>)>
Fit Subset of Regressors (SoR) approximation
Auto Trait Implementations§
impl Freeze for SparseApproximationMethods
impl RefUnwindSafe for SparseApproximationMethods
impl Send for SparseApproximationMethods
impl Sync for SparseApproximationMethods
impl Unpin for SparseApproximationMethods
impl UnwindSafe for SparseApproximationMethods
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